Skip to content

Commit

Permalink
Merge branch 'develop' into fix/reifyskolemwarnings
Browse files Browse the repository at this point in the history
  • Loading branch information
602p authored Jun 30, 2020
2 parents 9063504 + 74ac7a0 commit 5bb542e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion support/nailgun/sv-nailgun
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ fi
export NAILGUN_PORT=$(($RANDOM + 20000))

# Try a few possible locations, pick the first
SV_NAILGUN_CANDIDATES=$(shopt -s nullglob; echo /project/melt4/People/ted/nailgun/bin/nailgun-*.jar /usr/share/java/nailgun-server*.jar /usr/share/java/nailgun-*.jar)
SV_NAILGUN_CANDIDATES=$(shopt -s nullglob; echo /project/melt4/People/ted/nailgun/bin/nailgun-*.jar /usr/share/java/nailgun-server*.jar /usr/share/java/nailgun-*.jar /export/scratch/nailgun/bin/nailgun-server*.jar)
SV_NAILGUN_ARRAY=($SV_NAILGUN_CANDIDATES)
export SV_NAILGUN_JAR=${SV_NAILGUN_ARRAY[0]}

Expand All @@ -32,6 +32,8 @@ elif [[ -f /usr/bin/ng-nailgun ]]; then
fi
elif [[ -f /project/melt4/People/ted/nailgun/bin/ng ]]; then
export SV_NAILGUN="/project/melt4/People/ted/nailgun/bin/ng"
elif [[ -f /export/scratch/nailgun/bin/ng ]]; then
export SV_NAILGUN="/export/scratch/nailgun/bin/ng"
elif [[ -f `which ng` ]]; then
export SV_NAILGUN=`which ng`
else
Expand Down

0 comments on commit 5bb542e

Please sign in to comment.