From 67f555d24e47f412407b580f489e9dc1c2be7ff8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Pag=C3=A9?= Date: Thu, 8 Apr 2021 14:33:18 +0200 Subject: [PATCH] nix: Fix incorrect use of bash variable (#1797) --- test/with_tmp_db | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/with_tmp_db b/test/with_tmp_db index 9e7d54901..23a0a6551 100755 --- a/test/with_tmp_db +++ b/test/with_tmp_db @@ -40,7 +40,7 @@ tmpdir="$(mktemp -d)" if [ -n "$keeptmp" ]; then echo "The temporary directory at $tmpdir will be preserved after exit." else - trap "rm -rf tmpdir" sigint sigterm exit + trap 'rm -rf "$tmpdir"' sigint sigterm exit fi dblog="$tmpdir/db.log"