diff options
author | Will Dietz <w@wdtz.org> | 2018-08-20 12:44:29 -0500 |
---|---|---|
committer | Will Dietz <w@wdtz.org> | 2018-08-20 13:08:32 -0500 |
commit | 79a86ca11cef824c99c71d23f33044ce67db4cc4 (patch) | |
tree | 24d1ec289f822c548055aac6e34e106e3c7d56f3 /pkgs/build-support | |
parent | ac401848013985be1c07f0e4506306902c68c7ed (diff) | |
download | nixlib-79a86ca11cef824c99c71d23f33044ce67db4cc4.tar nixlib-79a86ca11cef824c99c71d23f33044ce67db4cc4.tar.gz nixlib-79a86ca11cef824c99c71d23f33044ce67db4cc4.tar.bz2 nixlib-79a86ca11cef824c99c71d23f33044ce67db4cc4.tar.lz nixlib-79a86ca11cef824c99c71d23f33044ce67db4cc4.tar.xz nixlib-79a86ca11cef824c99c71d23f33044ce67db4cc4.tar.zst nixlib-79a86ca11cef824c99c71d23f33044ce67db4cc4.zip |
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 |