Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

executable file 10 lines (9 sloc) 0.185 kb
1 2 3 4 5 6 7 8 9 10
#!/bin/sh
# Find a program in the path
if test -f $1; then exit 0; fi

IFS=':'
for dir in $PATH; do
  if test -z "$dir"; then dir=.; fi
  if test -f $dir/$1; then exit 0; fi
done
exit 1
Something went wrong with that request. Please try again.