mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
fix printdir some more
This commit is contained in:
parent
3cbedea88d
commit
4b137b28d4
@ -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
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user