Merge pull request #3638 from natefoo/use-version-not-which

[17.01] Use `command -v` rather than `which` when determining Galaxy Python for external set metadata
This commit is contained in:
Dannon Baker
2017-02-21 14:16:33 -05:00
committed by GitHub
+1 -1
View File
@@ -29,7 +29,7 @@ if [ "$GALAXY_VIRTUAL_ENV" != "None" -a -z "$VIRTUAL_ENV" \
-a -f "$GALAXY_VIRTUAL_ENV/bin/activate" ]; then
. "$GALAXY_VIRTUAL_ENV/bin/activate"
fi
GALAXY_PYTHON=`which python`
GALAXY_PYTHON=`command -v python`
"""