mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-25 12:49:22 -05:00
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: Dan Callahan <danc@element.io>
This commit is contained in:
parent
5eb481cd5b
commit
898e3be4c9
2
debian/build_virtualenv
vendored
2
debian/build_virtualenv
vendored
@ -57,7 +57,7 @@ case "$DEB_BUILD_OPTIONS" in
|
|||||||
# Copy tests to a temporary directory so that we can put them on the
|
# Copy tests to a temporary directory so that we can put them on the
|
||||||
# PYTHONPATH without putting the uninstalled synapse on the pythonpath.
|
# PYTHONPATH without putting the uninstalled synapse on the pythonpath.
|
||||||
tmpdir=`mktemp -d`
|
tmpdir=`mktemp -d`
|
||||||
trap "rm -r $tmpdir" EXIT
|
trap 'rm -r $tmpdir' EXIT
|
||||||
|
|
||||||
cp -r tests "$tmpdir"
|
cp -r tests "$tmpdir"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user