diff --git a/bind_condor.sh b/bind_condor.sh index 41cbada..3aed633 100755 --- a/bind_condor.sh +++ b/bind_condor.sh @@ -4,7 +4,7 @@ LPC_CONDOR_CONFIG=/etc/condor/config.d/01_cmslpc_interactive LPC_CONDOR_LOCAL=/usr/local/bin/cmslpc-local-conf.py # not all containers have /usr/bin/python3 -COMMAND_NAME=$(basename "$0") +COMMAND_NAME=$(basename -- "$0") COMMAND_PATH=$(readlink -f "${BASH_SOURCE[0]}") if [ "$COMMAND_NAME" = "$(basename $LPC_CONDOR_LOCAL)" ]; then python3 ${LPC_CONDOR_LOCAL}.orig | grep -v "LOCAL_CONFIG_FILE"