Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,18 +40,18 @@ set -e
set -o pipefail

JAVA="${1}"
if [ "x$JAVA" == "x" ] ; then
if [ "x$JAVA" == "x" ] ; then
echo "Jdk is mandatory param (bugid is optional)"
exit 1
fi;
fi

if [ "x$CYGWIN" == "xtrue" ] ; then
JAVA="$(cygpath -aw "${JAVA}")"
fi

if [ "x$JAVA_HOME" == "x" ] ; then
JAVA_HOME="$(dirname $(dirname $(readlink -f $(which javac))))"
fi;
fi

if [ "x$CYGWIN" == "xtrue" ] ; then
JAVA_HOME="$(cygpath -aw "${JAVA_HOME}")"
Expand Down