Skip to content

Commit

Permalink
generate links now takes current folder
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesknap committed Jan 16, 2024
1 parent cbdcca5 commit 5237d58
Show file tree
Hide file tree
Showing 13 changed files with 26 additions and 13 deletions.
3 changes: 2 additions & 1 deletion ADAravis/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
# $1 VERSION to install (must match repo tag)
VERSION=${1}
NAME=ADAravis
FOLDER=$(dirname $(readlink -f $0))

# log output and abort on failure
set -xe
Expand Down Expand Up @@ -71,4 +72,4 @@ ibek support add-to-config-site ${NAME} "${CONFIG}"
ibek support compile ${NAME}

# prepare *.bob, *.pvi, *.ibek.support.yaml for access outside the container.
ibek support generate-links ${NAME}
ibek support generate-links ${FOLDER}
3 changes: 2 additions & 1 deletion ADCore/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
# $1 VERSION to install (must match repo tag)
VERSION=${1}
NAME=ADCore
FOLDER=$(dirname $(readlink -f $0))

# log output and abort on failure
set -xe
Expand Down Expand Up @@ -77,6 +78,6 @@ ibek support add-release-macro SNCSEQ
ibek support compile ${NAME}

# prepare *.bob, *.pvi, *.ibek.support.yaml for access outside the container.
ibek support generate-links ${NAME}
ibek support generate-links ${FOLDER}


3 changes: 2 additions & 1 deletion ADGenICam/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
# $1 VERSION to install (must match repo tag)
VERSION=${1}
NAME=ADGenICam
FOLDER=$(dirname $(readlink -f $0))

# log output and abort on failure
set -xe
Expand All @@ -21,6 +22,6 @@ ibek support add-libs ADGenICam
# compile the support module
ibek support compile ${NAME}
# prepare *.bob, *.pvi, *.ibek.support.yaml for access outside the container.
ibek support generate-links ${NAME}
ibek support generate-links ${FOLDER}


3 changes: 2 additions & 1 deletion ADSimDetector/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
# $1 VERSION to install (must match repo tag)
VERSION=${1}
NAME=ADSimDetector
FOLDER=$(dirname $(readlink -f $0))

# log output and abort on failure
set -xe
Expand All @@ -22,6 +23,6 @@ ibek support add-dbds simDetectorSupport.dbd
# compile the support module
ibek support compile ${NAME}
# prepare *.bob, *.pvi, *.ibek.support.yaml for access outside the container.
ibek support generate-links ${NAME}
ibek support generate-links ${FOLDER}


3 changes: 2 additions & 1 deletion asyn/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
# $1 VERSION to install (must match repo tag)
VERSION=${1}
NAME=asyn
FOLDER=$(dirname $(readlink -f $0))

# log output and abort on failure
set -xe
Expand Down Expand Up @@ -35,6 +36,6 @@ fi
ibek support compile ${NAME}

# prepare *.bob, *.pvi, *.ibek.support.yaml for access outside the container.
ibek support generate-links ${NAME}
ibek support generate-links ${FOLDER}


3 changes: 2 additions & 1 deletion autosave/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
# $1 VERSION to install (must match repo tag)
VERSION=${1}
NAME=autosave
FOLDER=$(dirname $(readlink -f $0))

# log output and abort on failure
set -xe
Expand Down Expand Up @@ -37,6 +38,6 @@ fi
# compile the support module
ibek support compile ${NAME}
# prepare *.bob, *.pvi, *.ibek.support.yaml for access outside the container.
ibek support generate-links ${NAME}
ibek support generate-links ${FOLDER}


3 changes: 2 additions & 1 deletion busy/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
# $1 VERSION to install (must match repo tag)
VERSION=${1}
NAME=busy
FOLDER=$(dirname $(readlink -f $0))

# log output and abort on failure
set -xe
Expand All @@ -22,7 +23,7 @@ ibek support add-dbds busySupport.dbd
# compile the support module
ibek support compile ${NAME}
# prepare *.bob, *.pvi, *.ibek.support.yaml for access outside the container.
ibek support generate-links ${NAME}
ibek support generate-links ${FOLDER}



3 changes: 2 additions & 1 deletion calc/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
# $1 VERSION to install (must match repo tag)
VERSION=${1}
NAME=calc
FOLDER=$(dirname $(readlink -f $0))

# log output and abort on failure
set -xe
Expand All @@ -22,6 +23,6 @@ ibek support add-dbds calcSupport.dbd
# compile the support module
ibek support compile ${NAME}
# prepare *.bob, *.pvi, *.ibek.support.yaml for access outside the container.
ibek support generate-links ${NAME}
ibek support generate-links ${FOLDER}


3 changes: 2 additions & 1 deletion iocStats/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
# $1 VERSION to install (must match repo tag)
VERSION=${1}
NAME=iocStats
FOLDER=$(dirname $(readlink -f $0))

# log output and abort on failure
set -xe
Expand All @@ -23,5 +24,5 @@ ibek support add-dbds devIocStats.dbd
ibek support compile ${NAME}

# prepare *.bob, *.pvi, *.ibek.support.yaml for access outside the container.
ibek support generate-links ${NAME}
ibek support generate-links ${FOLDER}

3 changes: 2 additions & 1 deletion motor/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
# $1 VERSION to install (must match repo tag)
VERSION=${1}
NAME=motor
FOLDER=$(dirname $(readlink -f $0))

# log output and abort on failure
set -xe
Expand All @@ -22,4 +23,4 @@ ibek support add-dbds motorRecord.dbd motorSupport.dbd devSoftMotor.dbd
# compile the support module
ibek support compile ${NAME}
# prepare *.bob, *.pvi, *.ibek.support.yaml for access outside the container.
ibek support generate-links ${NAME}
ibek support generate-links ${FOLDER}
3 changes: 2 additions & 1 deletion motorMotorSim/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
# $1 VERSION to install (must match repo tag)
VERSION=${1}
NAME=motorMotorSim
FOLDER=$(dirname $(readlink -f $0))

# log output and abort on failure
set -xe
Expand All @@ -22,6 +23,6 @@ ibek support add-dbds motorSimSupport.dbd motorSim.dbd
# compile the support module
ibek support compile ${NAME}
# prepare *.bob, *.pvi, *.ibek.support.yaml for access outside the container.
ibek support generate-links ${NAME}
ibek support generate-links ${FOLDER}


3 changes: 2 additions & 1 deletion pmac/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
# $1 VERSION to install (must match repo tag)
VERSION=${1}
NAME=pmac
FOLDER=$(dirname $(readlink -f $0))

# log output and abort on failure
set -xe
Expand Down Expand Up @@ -48,6 +49,6 @@ ibek support add-dbds pmacAsynIPPort.dbd pmacAsynMotorPort.dbd drvAsynPowerPMACP
# compile the support module (don't build parallel as Makefile doesn't work)
ibek support compile ${NAME} -j 1
# prepare *.bob, *.pvi, *.ibek.support.yaml for access outside the container.
ibek support generate-links ${NAME}
ibek support generate-links ${FOLDER}


3 changes: 2 additions & 1 deletion sscan/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
# $1 VERSION to install (must match repo tag)
VERSION=${1}
NAME=sscan
FOLDER=$(dirname $(readlink -f $0))

# log output and abort on failure
set -xe
Expand All @@ -22,6 +23,6 @@ ibek support add-dbds sscan.dbd
# compile the support module
ibek support compile ${NAME}
# prepare *.bob, *.pvi, *.ibek.support.yaml for access outside the container.
ibek support generate-links ${NAME}
ibek support generate-links ${FOLDER}


0 comments on commit 5237d58

Please sign in to comment.