Skip to content
Snippets Groups Projects
Unverified Commit 898e3be4 authored by Dan Callahan's avatar Dan Callahan
Browse files

Fix Shellcheck SC2064: Use single quotes on traps

Use single quotes, otherwise this expands now rather than when signalled.

https://github.com/koalaman/shellcheck/wiki/SC2064



Signed-off-by: default avatarDan Callahan <danc@element.io>
parent 5eb481cd
No related branches found
No related tags found
No related merge requests found
......@@ -57,7 +57,7 @@ case "$DEB_BUILD_OPTIONS" in
# Copy tests to a temporary directory so that we can put them on the
# PYTHONPATH without putting the uninstalled synapse on the pythonpath.
tmpdir=`mktemp -d`
trap "rm -r $tmpdir" EXIT
trap 'rm -r $tmpdir' EXIT
cp -r tests "$tmpdir"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment