Skip to content

Commit 68d489b

Browse files
author
Kaushik Malapati
committed
quoting vars and removing backticks in pmgr for shellcheck
1 parent 499fec9 commit 68d489b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/pmgr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ if [[ -n $1 && ! $1 =~ '--' ]]; then
1818
HUTCH=$1
1919
shift
2020
else
21-
HUTCH=`get_hutch_name`
21+
HUTCH=$(get_hutch_name)
2222
fi
23-
/reg/g/pcds/pyps/config/${HUTCH}/pmgr/pmgr --type ims_motor --hutch ${HUTCH} $@ &
23+
/reg/g/pcds/pyps/config/"${HUTCH}"/pmgr/pmgr --type ims_motor --hutch "${HUTCH}" "$@" &

0 commit comments

Comments
 (0)