mirror of https://github.com/CGAL/cgal
Again: quote $LOCK_FILE, this time in the EXIT trap.
This commit is contained in:
parent
dcdaff4622
commit
ba66be3e4a
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue