support linux properly
This commit is contained in:
parent
6cfe694cb9
commit
46f98ca7c3
|
|
@ -1,6 +1,14 @@
|
|||
#! /bin/sh
|
||||
|
||||
/bin/find $1 -name \*$2 -print
|
||||
echo $1
|
||||
|
||||
# Some Cygwin users don't have find set on on their path correctly, so
|
||||
# we have to be explicit.
|
||||
if [ -x /bin/find ]; then
|
||||
/bin/find $1 -name \*$2 -print
|
||||
else
|
||||
find $1 -name \*$2 -print
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue