David Rose před 22 roky
rodič
revize
284fe2d2f6
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      direct/src/ffi/genPyCode

+ 2 - 2
direct/src/ffi/genPyCode

@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /bin/sh
 
 
 # This is just a helper script to generatePythonCode to cover
 # This is just a helper script to generatePythonCode to cover
 # the three or four cases we use all the time
 # the three or four cases we use all the time
@@ -45,7 +45,7 @@ pyDir=$DIRECT/lib/py
 extDir=$DIRECT/src/extensions
 extDir=$DIRECT/src/extensions
 pSqueezer=$DIRECT/src/showbase/pandaSqueezer.py
 pSqueezer=$DIRECT/src/showbase/pandaSqueezer.py
 
 
-if [ $(uname | grep CYGWIN) ]; then
+if [ `uname | grep CYGWIN` ]; then
   install_dir="$(cygpath -aw $install_dir)"
   install_dir="$(cygpath -aw $install_dir)"
   pyDir="$(cygpath -w $pyDir)"
   pyDir="$(cygpath -w $pyDir)"
   extDir="$(cygpath -w $extDir)"
   extDir="$(cygpath -w $extDir)"