From 284fe2d2f6a3d81b27ab33a769b250aaf7c4c1b8 Mon Sep 17 00:00:00 2001 From: David Rose Date: Thu, 12 Feb 2004 01:20:46 +0000 Subject: [PATCH] run on Irix --- direct/src/ffi/genPyCode | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/direct/src/ffi/genPyCode b/direct/src/ffi/genPyCode index 7512b20db5..79228e487f 100755 --- a/direct/src/ffi/genPyCode +++ b/direct/src/ffi/genPyCode @@ -1,4 +1,4 @@ -#! /bin/bash +#! /bin/sh # This is just a helper script to generatePythonCode to cover # the three or four cases we use all the time @@ -45,7 +45,7 @@ pyDir=$DIRECT/lib/py extDir=$DIRECT/src/extensions pSqueezer=$DIRECT/src/showbase/pandaSqueezer.py -if [ $(uname | grep CYGWIN) ]; then +if [ `uname | grep CYGWIN` ]; then install_dir="$(cygpath -aw $install_dir)" pyDir="$(cygpath -w $pyDir)" extDir="$(cygpath -w $extDir)"