equal
deleted
inserted
replaced
1 # utility to setup pythonpath to point into the tested repository |
1 # utility to setup pythonpath to point into the tested repository |
2 |
2 |
3 export SRCDIR=`dirname $TESTDIR` |
3 export SRCDIR="`dirname $TESTDIR`" |
4 if [ -n "$PYTHONPATH" ]; then |
4 if [ -n "$PYTHONPATH" ]; then |
5 export HGTEST_ORIG_PYTHONPATH=$PYTHONPATH |
5 export HGTEST_ORIG_PYTHONPATH=$PYTHONPATH |
6 export PYTHONPATH=$SRCDIR:$PYTHONPATH |
6 if uname -o | grep -q Msys; then |
|
7 export PYTHONPATH="$SRCDIR;$PYTHONPATH" |
|
8 else |
|
9 export PYTHONPATH=$SRCDIR:$PYTHONPATH |
|
10 fi |
7 else |
11 else |
8 export PYTHONPATH=$SRCDIR |
12 export PYTHONPATH=$SRCDIR |
9 fi |
13 fi |