Again: quote $LOCK_FILE, this time in the EXIT trap.
This commit is contained in:
@@ -902,7 +902,7 @@ chmod u+w "$LOCK_FILE"
|
||||
echo $$ > "$LOCK_FILE"
|
||||
|
||||
# that line makes the script remove the lock file in case of unwanted exit
|
||||
trap "rm -f $LOCK_FILE" EXIT HUP INT TERM
|
||||
trap "rm -f \"$LOCK_FILE\"" EXIT HUP INT TERM
|
||||
|
||||
# Notify test started
|
||||
if [ ! "${MAIL_ADDRESS}" = "must_be_set_in_.autocgalrc" ]; then
|
||||
|
||||
Reference in New Issue
Block a user