audit-tmpdir hook: clean up whitespace

This commit is contained in:
Bjørn Forsman 2018-12-02 11:34:26 +01:00
parent ed0cee645f
commit ad28261ad2

View File

@ -26,7 +26,7 @@ auditTmpdir() {
fi
fi
if isScript "$i"; then
if isScript "$i"; 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/"