From 0f68b4c9c07d48519ec50b33b5cd07ca635de797 Mon Sep 17 00:00:00 2001 From: Darren Ranalli Date: Fri, 22 Feb 2002 22:37:49 +0000 Subject: [PATCH] added stuff for ttrader tree --- direct/src/ffi/genPyCode | 6 ++++++ direct/src/showbase/ppython | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/direct/src/ffi/genPyCode b/direct/src/ffi/genPyCode index cb82a3ac38..c98862d39a 100755 --- a/direct/src/ffi/genPyCode +++ b/direct/src/ffi/genPyCode @@ -20,6 +20,12 @@ shift firstarg="$1" fi +if [ "$firstarg" = "-tt" ]; then +extra_genPyCode_libs="$extra_genPyCode_libs libttrader" +shift +firstarg="$1" +fi + if [ "$firstarg" = "-v" ]; then extra_genPyCode_libs="$extra_genPyCode_libs libvrpn" shift diff --git a/direct/src/showbase/ppython b/direct/src/showbase/ppython index 26b7edb039..125aac0221 100755 --- a/direct/src/showbase/ppython +++ b/direct/src/showbase/ppython @@ -53,6 +53,10 @@ if [ "$BARTOP" ]; then BARTOP=`cygpath -w $BARTOP` export BARTOP fi +if [ "$TTRADER" ]; then + TTRADER=`cygpath -w $TTRADER` + export TTRADER +fi # Export the proper home environment variable HOME=`cygpath -w $HOME`