Merge pull request #1890 from jmchilton/fix_virtualenvs

[16.01] Fix virtual env handling broken with #1847.
This commit is contained in:
Nate Coraor
2016-03-15 16:52:52 -04:00
2 changed files with 15 additions and 0 deletions
+7
View File
@@ -13,6 +13,13 @@ cd `dirname $0`
./scripts/common_startup.sh --skip-samples
: ${GALAXY_VIRTUAL_ENV:=.venv}
if [ -d "$GALAXY_VIRTUAL_ENV" ];
then
. "$GALAXY_VIRTUAL_ENV/bin/activate"
fi
if [ -z "$GALAXY_REPORTS_CONFIG" ]; then
if [ -f reports_wsgi.ini ]; then
GALAXY_REPORTS_CONFIG=reports_wsgi.ini
+8
View File
@@ -4,6 +4,14 @@ cd `dirname $0`
./scripts/common_startup.sh
: ${GALAXY_VIRTUAL_ENV:=.venv}
if [ -d "$GALAXY_VIRTUAL_ENV" ];
then
. "$GALAXY_VIRTUAL_ENV/bin/activate"
fi
tool_shed=`./lib/tool_shed/scripts/bootstrap_tool_shed/parse_run_sh_args.sh $@`
args=$@