Files
galaxy/manage_tools.sh
T
John Chilton 26d5561b4f Update more scripts to respect GALAXY_VIRTUAL_ENV.
Drop explicit sourcing in run_reports and run_tool_shed since they source common_startup.
2016-03-03 10:11:24 +00:00

13 lines
238 B
Bash

#!/bin/sh
: ${GALAXY_VIRTUAL_ENV:=.venv}
if [ -d "$GALAXY_VIRTUAL_ENV" ];
then
printf "Activating virtualenv at $GALAXY_VIRTUAL_ENV\n"
. "$GALAXY_VIRTUAL_ENV/bin/activate"
fi
cd `dirname $0`
python ./scripts/manage_tools.py $@