Skip to content

Commit

Permalink
Another fix for virtualenv fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmchilton committed Mar 10, 2016
1 parent 5824bc0 commit 438661e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions run_reports.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@

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

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

if [ -z "$GALAXY_REPORTS_CONFIG" ]; then
if [ -f reports_wsgi.ini ]; then
GALAXY_REPORTS_CONFIG=reports_wsgi.ini
Expand Down
3 changes: 2 additions & 1 deletion run_tool_shed.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@

cd `dirname $0`

./scripts/common_startup.sh

: ${GALAXY_VIRTUAL_ENV:=.venv}

if [ -d "$GALAXY_VIRTUAL_ENV" ];
then
. "$GALAXY_VIRTUAL_ENV/bin/activate"
fi

./scripts/common_startup.sh

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

0 comments on commit 438661e

Please sign in to comment.