From 469b2e6a3ff7d5f7b3b85de0a94bd16f4bc16d62 Mon Sep 17 00:00:00 2001 From: Joe Shochet Date: Wed, 7 Apr 2004 17:40:27 +0000 Subject: [PATCH] otp support --- direct/src/directscripts/runPythonEmacs | 5 +++++ direct/src/showbase/ppython | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/direct/src/directscripts/runPythonEmacs b/direct/src/directscripts/runPythonEmacs index 3917596fe8..b8b5794dc8 100755 --- a/direct/src/directscripts/runPythonEmacs +++ b/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` diff --git a/direct/src/showbase/ppython b/direct/src/showbase/ppython index f4dcbeef20..68fdfcff28 100755 --- a/direct/src/showbase/ppython +++ b/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