Skip to content

Commit

Permalink
Die if java bin is not found or specified
Browse files Browse the repository at this point in the history
  • Loading branch information
felixmulder committed Jun 21, 2016
1 parent 574681e commit a338ac7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/dotr
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ function runMain {

if [ "$jbin" == "" ]; then
echo "java bin not detected - please specify with \$JAVA_BIN or install java to a default location"
exit 1
else
eval "$jbin $CLASS_PATH $@"
fi
Expand Down

0 comments on commit a338ac7

Please sign in to comment.