Skip to content

Commit

Permalink
Merge pull request #3638 from natefoo/use-version-not-which
Browse files Browse the repository at this point in the history
[17.01] Use `command -v` rather than `which` when determining Galaxy Python for external set metadata
  • Loading branch information
dannon committed Feb 21, 2017
2 parents 62475c5 + f7a14e1 commit 29f8b54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/jobs/command_factory.py
Expand Up @@ -29,7 +29,7 @@
-a -f "$GALAXY_VIRTUAL_ENV/bin/activate" ]; then
. "$GALAXY_VIRTUAL_ENV/bin/activate"
fi
GALAXY_PYTHON=`which python`
GALAXY_PYTHON=`command -v python`
"""


Expand Down

0 comments on commit 29f8b54

Please sign in to comment.