Browse Source

handling for uname of Cygwin 5.1

Joe Shochet 22 years ago
parent
commit
fb01954822
1 changed files with 1 additions and 1 deletions
  1. 1 1
      direct/src/ffi/genPyCode

+ 1 - 1
direct/src/ffi/genPyCode

@@ -43,7 +43,7 @@ pyDir=$DIRECT/lib/py
 extDir=$DIRECT/src/extensions
 pSqueezer=$DIRECT/src/showbase/pandaSqueezer.py
 
-if [ $(uname) = "CYGWIN_NT-5.0" ]; then
+if [ $(uname) = "CYGWIN_NT-5.0" -o $(uname) = "CYGWIN_NT-5.1" ]; then
   install_dir="$(cygpath -aw $install_dir)"
   pyDir="$(cygpath -w $pyDir)"
   extDir="$(cygpath -w $extDir)"