mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
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:
@@ -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`
|
||||
"""
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user