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 if uname -o | grep -q Msys; then |
6 if uname -o 2> /dev/null | grep -q Msys; then |
7 export PYTHONPATH="$SRCDIR;$PYTHONPATH" |
7 export PYTHONPATH="$SRCDIR;$PYTHONPATH" |
8 else |
8 else |
9 export PYTHONPATH=$SRCDIR:$PYTHONPATH |
9 export PYTHONPATH=$SRCDIR:$PYTHONPATH |
10 fi |
10 fi |
11 else |
11 else |