nix: Fix incorrect use of bash variable (#1797)
This commit is contained in:
+1
-1
@@ -40,7 +40,7 @@ tmpdir="$(mktemp -d)"
|
|||||||
if [ -n "$keeptmp" ]; then
|
if [ -n "$keeptmp" ]; then
|
||||||
echo "The temporary directory at $tmpdir will be preserved after exit."
|
echo "The temporary directory at $tmpdir will be preserved after exit."
|
||||||
else
|
else
|
||||||
trap "rm -rf tmpdir" sigint sigterm exit
|
trap 'rm -rf "$tmpdir"' sigint sigterm exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dblog="$tmpdir/db.log"
|
dblog="$tmpdir/db.log"
|
||||||
|
|||||||
Reference in New Issue
Block a user