From: Radek Czajka Date: Fri, 19 Jun 2015 13:17:40 +0000 (+0200) Subject: Fix bootstrap test. X-Git-Url: https://git.mdrn.pl/fnp-django-template.git/commitdiff_plain/6d5faf02d0b7d9f340f7a08acc37f4e383f1c3a1?ds=sidebyside;hp=12db9a6a828b15464d3d3c6f0a1ac0892acfbe76 Fix bootstrap test. --- diff --git a/tests/test_bootstrap.sh b/tests/test_bootstrap.sh index 68e1c6f..73814a5 100755 --- a/tests/test_bootstrap.sh +++ b/tests/test_bootstrap.sh @@ -21,11 +21,14 @@ PYTHON_VER="`$PYTHON -V 2>&1`" echo -e "${strong}Using $PYTHON_VER${normal}" PYTHON="`which $PYTHON`" -FNP_PROJECT_TEMPLATE="$DIR"/.. +FNP_PROJECT_TEMPLATE="$DIR"/../src projectdir="$tmpdir"/p mkdir "$projectdir" cd "$projectdir" -. "$DIR"/../bootstrap.sh TEST_PROJECT --python "$PYTHON" + +PROJECT=TEST_PROJECT + +. "$DIR"/../bootstrap.sh # Test for active virtualenv