fix printdir some more

This commit is contained in:
David Rose 2004-02-09 21:29:08 +00:00
parent 3cbedea88d
commit 4b137b28d4

View File

@ -1,14 +1,11 @@
#! /bin/sh #! /bin/sh
echo $1
# Some Cygwin users don't have find set on on their path correctly, so # Some Cygwin users don't have find set on on their path correctly, so
# we have to be explicit. # we have to be explicit.
if [ -x /bin/find ]; then PATH=/bin:$PATH
/bin/find $1 -name \*$2 -print export PATH
else
find $1 -name \*$2 -print find $1 -name "*$2" -print
fi