mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
revert -m change; not supported on old cygwin versions
This commit is contained in:
parent
580250bd6f
commit
55c22b6788
@ -11,7 +11,7 @@ NEWPYTHONPATH=
|
|||||||
# To iterate, temporarily change the semicolons into spaces
|
# To iterate, temporarily change the semicolons into spaces
|
||||||
for path in `echo $PYTHONPATH | sed 'y/;/ /'`; do
|
for path in `echo $PYTHONPATH | sed 'y/;/ /'`; do
|
||||||
# Then for each entry run it through the cygwin filter
|
# Then for each entry run it through the cygwin filter
|
||||||
NEWPYTHONPATH=$NEWPYTHONPATH\;`cygpath -m $path`
|
NEWPYTHONPATH=$NEWPYTHONPATH\;`cygpath -w $path`
|
||||||
done
|
done
|
||||||
|
|
||||||
# Export the new PYTHONPATH
|
# Export the new PYTHONPATH
|
||||||
@ -22,102 +22,102 @@ export PYTHONPATH
|
|||||||
# completion) This is hardcoded for the most popular trees
|
# completion) This is hardcoded for the most popular trees
|
||||||
if [ "$DTOOL" ]; then
|
if [ "$DTOOL" ]; then
|
||||||
if [ "$debug" ]; then echo "DTOOL $DTOOL"; fi
|
if [ "$debug" ]; then echo "DTOOL $DTOOL"; fi
|
||||||
DTOOL=`cygpath -m $DTOOL`
|
DTOOL=`cygpath -w $DTOOL`
|
||||||
export DTOOL
|
export DTOOL
|
||||||
fi
|
fi
|
||||||
if [ "$PANDA" ]; then
|
if [ "$PANDA" ]; then
|
||||||
if [ "$debug" ]; then echo "PANDA $PANDA"; fi
|
if [ "$debug" ]; then echo "PANDA $PANDA"; fi
|
||||||
PANDA=`cygpath -m $PANDA`
|
PANDA=`cygpath -w $PANDA`
|
||||||
export PANDA
|
export PANDA
|
||||||
fi
|
fi
|
||||||
if [ "$DIRECT" ]; then
|
if [ "$DIRECT" ]; then
|
||||||
if [ "$debug" ]; then echo "DIRECT $DIRECT"; fi
|
if [ "$debug" ]; then echo "DIRECT $DIRECT"; fi
|
||||||
DIRECT=`cygpath -m $DIRECT`
|
DIRECT=`cygpath -w $DIRECT`
|
||||||
export DIRECT
|
export DIRECT
|
||||||
fi
|
fi
|
||||||
if [ "$TOONTOWN" ]; then
|
if [ "$TOONTOWN" ]; then
|
||||||
if [ "$debug" ]; then echo "TOONTOWN $TOONTOWN"; fi
|
if [ "$debug" ]; then echo "TOONTOWN $TOONTOWN"; fi
|
||||||
TOONTOWN=`cygpath -m $TOONTOWN`
|
TOONTOWN=`cygpath -w $TOONTOWN`
|
||||||
export TOONTOWN
|
export TOONTOWN
|
||||||
fi
|
fi
|
||||||
if [ "$TOONTAG" ]; then
|
if [ "$TOONTAG" ]; then
|
||||||
if [ "$debug" ]; then echo "TOONTAG $TOONTAG"; fi
|
if [ "$debug" ]; then echo "TOONTAG $TOONTAG"; fi
|
||||||
TOONTAG=`cygpath -m $TOONTAG`
|
TOONTAG=`cygpath -w $TOONTAG`
|
||||||
export TOONTAG
|
export TOONTAG
|
||||||
fi
|
fi
|
||||||
if [ "$BARTOP" ]; then
|
if [ "$BARTOP" ]; then
|
||||||
if [ "$debug" ]; then echo "BARTOP $BARTOP"; fi
|
if [ "$debug" ]; then echo "BARTOP $BARTOP"; fi
|
||||||
BARTOP=`cygpath -m $BARTOP`
|
BARTOP=`cygpath -w $BARTOP`
|
||||||
export BARTOP
|
export BARTOP
|
||||||
fi
|
fi
|
||||||
if [ "$TTRADER" ]; then
|
if [ "$TTRADER" ]; then
|
||||||
if [ "$debug" ]; then echo "TTRADER $TTRADER"; fi
|
if [ "$debug" ]; then echo "TTRADER $TTRADER"; fi
|
||||||
TTRADER=`cygpath -m $TTRADER`
|
TTRADER=`cygpath -w $TTRADER`
|
||||||
export TTRADER
|
export TTRADER
|
||||||
fi
|
fi
|
||||||
if [ "$VRIDE" ]; then
|
if [ "$VRIDE" ]; then
|
||||||
if [ "$debug" ]; then echo "VRIDE $VRIDE"; fi
|
if [ "$debug" ]; then echo "VRIDE $VRIDE"; fi
|
||||||
VRIDE=`cygpath -m $VRIDE`
|
VRIDE=`cygpath -w $VRIDE`
|
||||||
export VRIDE
|
export VRIDE
|
||||||
fi
|
fi
|
||||||
if [ "$FOURD" ]; then
|
if [ "$FOURD" ]; then
|
||||||
if [ "$debug" ]; then echo "FOURD $FOURD"; fi
|
if [ "$debug" ]; then echo "FOURD $FOURD"; fi
|
||||||
FOURD=`cygpath -m $FOURD`
|
FOURD=`cygpath -w $FOURD`
|
||||||
export FOURD
|
export FOURD
|
||||||
fi
|
fi
|
||||||
if [ "$MRM" ]; then
|
if [ "$MRM" ]; then
|
||||||
if [ "$debug" ]; then echo "MRM $MRM"; fi
|
if [ "$debug" ]; then echo "MRM $MRM"; fi
|
||||||
MRM=`cygpath -m $MRM`
|
MRM=`cygpath -w $MRM`
|
||||||
export MRM
|
export MRM
|
||||||
fi
|
fi
|
||||||
if [ "$PARALLAX" ]; then
|
if [ "$PARALLAX" ]; then
|
||||||
if [ "$debug" ]; then echo "PARALLAX $PARALLAX"; fi
|
if [ "$debug" ]; then echo "PARALLAX $PARALLAX"; fi
|
||||||
PARALLAX=`cygpath -m $PARALLAX`
|
PARALLAX=`cygpath -w $PARALLAX`
|
||||||
export PARALLAX
|
export PARALLAX
|
||||||
fi
|
fi
|
||||||
if [ "$MRM" ]; then
|
if [ "$MRM" ]; then
|
||||||
if [ "$debug" ]; then echo "MRM $MRM"; fi
|
if [ "$debug" ]; then echo "MRM $MRM"; fi
|
||||||
MRM=`cygpath -m $MRM`
|
MRM=`cygpath -w $MRM`
|
||||||
export MRM
|
export MRM
|
||||||
fi
|
fi
|
||||||
if [ "$WINTOOLS" ]; then
|
if [ "$WINTOOLS" ]; then
|
||||||
if [ "$debug" ]; then echo "WINTOOLS $WINTOOLS"; fi
|
if [ "$debug" ]; then echo "WINTOOLS $WINTOOLS"; fi
|
||||||
WINTOOLS=`cygpath -m $WINTOOLS`
|
WINTOOLS=`cygpath -w $WINTOOLS`
|
||||||
export WINTOOLS
|
export WINTOOLS
|
||||||
fi
|
fi
|
||||||
if [ "$PANDATOOL" ]; then
|
if [ "$PANDATOOL" ]; then
|
||||||
if [ "$debug" ]; then echo "PANDATOOL $PANDATOOL"; fi
|
if [ "$debug" ]; then echo "PANDATOOL $PANDATOOL"; fi
|
||||||
PANDATOOL=`cygpath -m $PANDATOOL`
|
PANDATOOL=`cygpath -w $PANDATOOL`
|
||||||
export PANDATOOL
|
export PANDATOOL
|
||||||
fi
|
fi
|
||||||
if [ "$PANDAAPP" ]; then
|
if [ "$PANDAAPP" ]; then
|
||||||
if [ "$debug" ]; then echo "PANDAAPP $PANDAAPP"; fi
|
if [ "$debug" ]; then echo "PANDAAPP $PANDAAPP"; fi
|
||||||
PANDAAPP=`cygpath -m $PANDAAPP`
|
PANDAAPP=`cygpath -w $PANDAAPP`
|
||||||
export PANDAAPP
|
export PANDAAPP
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Panda will now tolerate the colon in the de-cygpath version of the model trees
|
# Panda will now tolerate the colon in the de-cygpath version of the model trees
|
||||||
if [ "$DMODELS" ]; then
|
if [ "$DMODELS" ]; then
|
||||||
if [ "$debug" ]; then echo "DMODELS $DMODELS"; fi
|
if [ "$debug" ]; then echo "DMODELS $DMODELS"; fi
|
||||||
DMODELS=`cygpath -m $DMODELS`
|
DMODELS=`cygpath -w $DMODELS`
|
||||||
export DMODELS
|
export DMODELS
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$TTMODELS" ]; then
|
if [ "$TTMODELS" ]; then
|
||||||
if [ "$debug" ]; then echo "TTMODELS $TTMODELS"; fi
|
if [ "$debug" ]; then echo "TTMODELS $TTMODELS"; fi
|
||||||
TTMODELS=`cygpath -m $TTMODELS`
|
TTMODELS=`cygpath -w $TTMODELS`
|
||||||
export TTMODELS
|
export TTMODELS
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$BARMODELS" ]; then
|
if [ "$BARMODELS" ]; then
|
||||||
if [ "$debug" ]; then echo "BARMODELS $BARMODELS"; fi
|
if [ "$debug" ]; then echo "BARMODELS $BARMODELS"; fi
|
||||||
BARMODELS=`cygpath -m $BARMODELS`
|
BARMODELS=`cygpath -w $BARMODELS`
|
||||||
export BARMODELS
|
export BARMODELS
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
# Export the proper home environment variable
|
# Export the proper home environment variable
|
||||||
HOME=`cygpath -m $HOME`
|
HOME=`cygpath -w $HOME`
|
||||||
export HOME
|
export HOME
|
||||||
|
|
||||||
# Now start up emacs
|
# Now start up emacs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user