comparison docs/tutorial/testlib/pythonpath.sh @ 3376:aad37ffd7d58

doc: import the training support Import the training support which was stored in a private-repository before.
author Boris Feld <boris.feld@octobus.net>
date Mon, 08 Jan 2018 11:46:53 +0100
parents
children
comparison
equal deleted inserted replaced
3375:1cb549cd6236 3376:aad37ffd7d58
1 # utility to setup pythonpath to point into the tested repository
2
3 export SRCDIR=`dirname $TESTDIR`
4 if [ -n "$PYTHONPATH" ]; then
5 export HGTEST_ORIG_PYTHONPATH=$PYTHONPATH
6 export PYTHONPATH=$SRCDIR:$PYTHONPATH
7 else
8 export PYTHONPATH=$SRCDIR
9 fi