Parcourir la source

fix printdir some more

David Rose il y a 22 ans
Parent
commit
4b137b28d4
1 fichiers modifiés avec 4 ajouts et 7 suppressions
  1. 4 7
      direct/src/leveleditor/printdir

+ 4 - 7
direct/src/leveleditor/printdir

@@ -1,14 +1,11 @@
 #! /bin/sh
 
-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
+PATH=/bin:$PATH
+export PATH
+
+find $1 -name "*$2" -print