Again: quote $LOCK_FILE, this time in the EXIT trap.

This commit is contained in:
Laurent Rineau 2011-11-07 16:31:32 +00:00
parent dcdaff4622
commit ba66be3e4a
1 changed files with 1 additions and 1 deletions

View File

@ -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