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 osname="`uname -o`" |
6 if uname -o | grep -q Msys; then |
7 if (uname -o | grep -q Msys); then |
|
8 export PYTHONPATH="$SRCDIR;$PYTHONPATH" |
7 export PYTHONPATH="$SRCDIR;$PYTHONPATH" |
9 else |
8 else |
10 export PYTHONPATH=$SRCDIR:$PYTHONPATH |
9 export PYTHONPATH=$SRCDIR:$PYTHONPATH |
11 fi |
10 fi |
12 else |
11 else |