diff options
author | Will Dietz <github@wdtz.org> | 2018-08-21 15:21:36 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-21 15:21:36 -0500 |
commit | 9c35796ee31939f6c12fc05e6d1a4a0f544ecc5d (patch) | |
tree | 1ce5b6c1a5ce3df647bc293e4a0e461977a07d9e /pkgs/build-support | |
parent | 72d161f548701a2a8dab334dee76b63bccc0f07c (diff) | |
parent | 79a86ca11cef824c99c71d23f33044ce67db4cc4 (diff) | |
download | nixlib-9c35796ee31939f6c12fc05e6d1a4a0f544ecc5d.tar nixlib-9c35796ee31939f6c12fc05e6d1a4a0f544ecc5d.tar.gz nixlib-9c35796ee31939f6c12fc05e6d1a4a0f544ecc5d.tar.bz2 nixlib-9c35796ee31939f6c12fc05e6d1a4a0f544ecc5d.tar.lz nixlib-9c35796ee31939f6c12fc05e6d1a4a0f544ecc5d.tar.xz nixlib-9c35796ee31939f6c12fc05e6d1a4a0f544ecc5d.tar.zst nixlib-9c35796ee31939f6c12fc05e6d1a4a0f544ecc5d.zip |
Merge pull request #45396 from dtzWill/fix/audit-tmpdir-quote
audit-tmpdir: fix processing of files with spaces, quote variables
Diffstat (limited to 'pkgs/build-support')
-rw-r--r-- | pkgs/build-support/setup-hooks/audit-tmpdir.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/setup-hooks/audit-tmpdir.sh b/pkgs/build-support/setup-hooks/audit-tmpdir.sh index ffaa61f2d809..0f515842ebce 100644 --- a/pkgs/build-support/setup-hooks/audit-tmpdir.sh +++ b/pkgs/build-support/setup-hooks/audit-tmpdir.sh @@ -27,7 +27,7 @@ auditTmpdir() { fi if isScript "$i"; then - if [ -e "$(dirname $i)/.$(basename $i)-wrapped" ]; then + if [ -e "$(dirname "$i")/.$(basename "$i")-wrapped" ]; then if grep -q -F "$TMPDIR" "$i"; then echo "wrapper script $i contains a forbidden reference to $TMPDIR" exit 1 |