Use command -v rather than which when determining Galaxy Python for

external set metadata.
This commit is contained in:
Nate Coraor
2017-02-21 10:15:56 -05:00
parent caf57c6f3e
commit f7a14e1c90
+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`
"""