Skip to content

Commit

Permalink
[ADAM-1882] Don't abort adam-submit if ADAM_HOME is set.
Browse files Browse the repository at this point in the history
  • Loading branch information
pbashyal-nmdp authored and Frank Austin Nothaft committed Feb 6, 2018
1 parent aa43a56 commit 16681c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/find-adam-home
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ FIND_ADAM_HOME_PYTHON_SCRIPT="$(cd "$(dirname "$0")"; pwd)/find_adam_home.py"

# Short cirtuit if the user already has this set.
if [ ! -z "${ADAM_HOME}" ]; then
exit 0
true
elif [ ! -f "$FIND_ADAM_HOME_PYTHON_SCRIPT" ]; then
# If we are not in the same directory as find_adam_home.py we are not pip installed so we don't
# need to search the different Python directories for a ADAM installation.
Expand Down

0 comments on commit 16681c4

Please sign in to comment.