···27 fi
2829 if isScript "$i"; then
30- if [ -e "$(dirname $i)/.$(basename $i)-wrapped" ]; then
31 if grep -q -F "$TMPDIR" "$i"; then
32 echo "wrapper script $i contains a forbidden reference to $TMPDIR"
33 exit 1
···27 fi
2829 if isScript "$i"; then
30+ if [ -e "$(dirname "$i")/.$(basename "$i")-wrapped" ]; then
31 if grep -q -F "$TMPDIR" "$i"; then
32 echo "wrapper script $i contains a forbidden reference to $TMPDIR"
33 exit 1