diff --git a/direct/src/directscripts/runPythonEmacs b/direct/src/directscripts/runPythonEmacs index 8076419dfc..fb086c2998 100755 --- a/direct/src/directscripts/runPythonEmacs +++ b/direct/src/directscripts/runPythonEmacs @@ -111,6 +111,13 @@ if [ "$PMOCKUP" ]; then export PMOCKUP fi +# Gateway models +if [ "$GWMODELS" ]; then + if [ "$debug" ]; then echo "GWMODELS $GWMODELS"; fi + GWMODELS=`cygpath -w $GWMODELS` + export GWMODELS +fi + # Export the proper home environment variable HOME=`cygpath -w $HOME` export HOME