Add another dir to prune out
[pkgusr] / bin / which
1 #!/bin/bash
2 EXIT_STATUS=0
3 for i in "$@"; do
4         type -Pp $i 2>/dev/null||EXIT_STATUS=1
5 done
6 exit $EXIT_STATUS
7