From 5237d585cdddcb7e9c086b472bccec3ea8295a3d Mon Sep 17 00:00:00 2001 From: Giles Knap Date: Tue, 16 Jan 2024 12:57:59 +0000 Subject: [PATCH] generate links now takes current folder --- ADAravis/install.sh | 3 ++- ADCore/install.sh | 3 ++- ADGenICam/install.sh | 3 ++- ADSimDetector/install.sh | 3 ++- asyn/install.sh | 3 ++- autosave/install.sh | 3 ++- busy/install.sh | 3 ++- calc/install.sh | 3 ++- iocStats/install.sh | 3 ++- motor/install.sh | 3 ++- motorMotorSim/install.sh | 3 ++- pmac/install.sh | 3 ++- sscan/install.sh | 3 ++- 13 files changed, 26 insertions(+), 13 deletions(-) diff --git a/ADAravis/install.sh b/ADAravis/install.sh index 0ba0719..9d3c3b9 100755 --- a/ADAravis/install.sh +++ b/ADAravis/install.sh @@ -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 @@ -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} diff --git a/ADCore/install.sh b/ADCore/install.sh index 5426b4e..c018695 100755 --- a/ADCore/install.sh +++ b/ADCore/install.sh @@ -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 @@ -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} diff --git a/ADGenICam/install.sh b/ADGenICam/install.sh index ecd09f2..524387d 100755 --- a/ADGenICam/install.sh +++ b/ADGenICam/install.sh @@ -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 @@ -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} diff --git a/ADSimDetector/install.sh b/ADSimDetector/install.sh index a552f21..c6b1eb4 100755 --- a/ADSimDetector/install.sh +++ b/ADSimDetector/install.sh @@ -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 @@ -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} diff --git a/asyn/install.sh b/asyn/install.sh index 8286fd6..50e4d85 100755 --- a/asyn/install.sh +++ b/asyn/install.sh @@ -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 @@ -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} diff --git a/autosave/install.sh b/autosave/install.sh index cab7785..7f99c65 100755 --- a/autosave/install.sh +++ b/autosave/install.sh @@ -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 @@ -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} diff --git a/busy/install.sh b/busy/install.sh index b6d3dfb..afab9c7 100755 --- a/busy/install.sh +++ b/busy/install.sh @@ -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 @@ -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} diff --git a/calc/install.sh b/calc/install.sh index 6262834..a9484d7 100755 --- a/calc/install.sh +++ b/calc/install.sh @@ -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 @@ -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} diff --git a/iocStats/install.sh b/iocStats/install.sh index d9d0a19..607e4a1 100755 --- a/iocStats/install.sh +++ b/iocStats/install.sh @@ -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 @@ -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} diff --git a/motor/install.sh b/motor/install.sh index db7d28c..45f22d3 100755 --- a/motor/install.sh +++ b/motor/install.sh @@ -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 @@ -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} diff --git a/motorMotorSim/install.sh b/motorMotorSim/install.sh index b350e00..8e26d62 100755 --- a/motorMotorSim/install.sh +++ b/motorMotorSim/install.sh @@ -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 @@ -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} diff --git a/pmac/install.sh b/pmac/install.sh index 302451d..0e1265b 100755 --- a/pmac/install.sh +++ b/pmac/install.sh @@ -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 @@ -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} diff --git a/sscan/install.sh b/sscan/install.sh index da8d051..d01ac25 100755 --- a/sscan/install.sh +++ b/sscan/install.sh @@ -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 @@ -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}