We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff047ce commit 483df82Copy full SHA for 483df82
bind_condor.sh
@@ -4,8 +4,8 @@ LPC_CONDOR_CONFIG=/etc/condor/config.d/01_cmslpc_interactive
4
LPC_CONDOR_LOCAL=/usr/local/bin/cmslpc-local-conf.py
5
6
# not all containers have /usr/bin/python3
7
-COMMAND_NAME=$(basename $0)
8
-COMMAND_PATH=$(readlink -f "$BASH_SOURCE")
+COMMAND_NAME=$(basename "$0")
+COMMAND_PATH=$(readlink -f "${BASH_SOURCE[0]}")
9
if [ "$COMMAND_NAME" = "$(basename $LPC_CONDOR_LOCAL)" ]; then
10
python3 ${LPC_CONDOR_LOCAL}.orig | grep -v "LOCAL_CONFIG_FILE"
11
exit $?
0 commit comments