Skip to content

Commit

Permalink
shellcheck fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kpedro88 committed Oct 8, 2024
1 parent ff047ce commit 483df82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bind_condor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ 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_PATH=$(readlink -f "$BASH_SOURCE")
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"
exit $?
Expand Down

0 comments on commit 483df82

Please sign in to comment.