Browse Source

otp support

Joe Shochet 22 years ago
parent
commit
469b2e6a3f
2 changed files with 9 additions and 0 deletions
  1. 5 0
      direct/src/directscripts/runPythonEmacs
  2. 4 0
      direct/src/showbase/ppython

+ 5 - 0
direct/src/directscripts/runPythonEmacs

@@ -35,6 +35,11 @@ if [ "$DIRECT" ]; then
     DIRECT=`cygpath -w $DIRECT`
     export DIRECT
 fi
+if [ "$OTP" ]; then
+    if [ "$debug" ]; then echo "OTP    $OTP"; fi
+    OTP=`cygpath -w $OTP`
+    export OTP
+fi
 if [ "$TOONTOWN" ]; then
     if [ "$debug" ]; then echo "TOONTOWN  $TOONTOWN"; fi
     TOONTOWN=`cygpath -w $TOONTOWN`

+ 4 - 0
direct/src/showbase/ppython

@@ -45,6 +45,10 @@ if [ "$DIRECT" ]; then
     DIRECT=`cygpath -w $DIRECT`
     export DIRECT
 fi
+if [ "$OTP" ]; then
+    OTP=`cygpath -w $OTP`
+    export OTP
+fi
 if [ "$TOONTOWN" ]; then
     TOONTOWN=`cygpath -w $TOONTOWN`
     export TOONTOWN