Skip to content

Commit

Permalink
Fix virtualenv broken with #1847.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmchilton committed Mar 8, 2016
1 parent 97793ab commit 29c78e9
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions run_reports.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@

cd `dirname $0`

: ${GALAXY_VIRTUAL_ENV:=.venv}

if [ -d "$GALAXY_VIRTUAL_ENV" ];
then
printf "Activating virtualenv at $GALAXY_VIRTUAL_ENV\n"
. "$GALAXY_VIRTUAL_ENV/bin/activate"
fi

./scripts/common_startup.sh --skip-samples

if [ -z "$GALAXY_REPORTS_CONFIG" ]; then
Expand Down
8 changes: 8 additions & 0 deletions run_tool_shed.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

cd `dirname $0`

: ${GALAXY_VIRTUAL_ENV:=.venv}

if [ -d "$GALAXY_VIRTUAL_ENV" ];
then
printf "Activating virtualenv at $GALAXY_VIRTUAL_ENV\n"
. "$GALAXY_VIRTUAL_ENV/bin/activate"
fi

./scripts/common_startup.sh

tool_shed=`./lib/tool_shed/scripts/bootstrap_tool_shed/parse_run_sh_args.sh $@`
Expand Down

0 comments on commit 29c78e9

Please sign in to comment.