Skip to content

Commit

Permalink
revert changes from #2282
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremylong committed Nov 11, 2019
1 parent bee6d28 commit d794ec4
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions cli/src/main/conf/unixBinTemplate
Original file line number Diff line number Diff line change
Expand Up @@ -99,26 +99,12 @@ if $cygwin; then
[ -n "$REPO" ] && REPO=`cygpath --path --windows "$REPO"`
fi

#exec "$JAVACMD" $JAVA_OPTS @EXTRA_JVM_ARGUMENTS@ \
# -classpath "$CLASSPATH" \
# -Dapp.name="@APP_NAME@" \
# -Dapp.pid="$$" \
# -Dapp.repo="$REPO" \
# -Dapp.home="$BASEDIR" \
# -Dbasedir="$BASEDIR" \
# @MAINCLASS@ \
# @APP_ARGUMENTS@"$@"@UNIX_BACKGROUND@

CMDS=("$JAVACMD" \
exec "$JAVACMD" $JAVA_OPTS @EXTRA_JVM_ARGUMENTS@ \
-classpath "$CLASSPATH" \
-Dapp.name="@APP_NAME@" \
-Dapp.pid="$$" \
-Dapp.repo="$REPO" \
-Dapp.home="$BASEDIR" \
-Dbasedir="$BASEDIR" \
@MAINCLASS@)

for arg; do
CMDS+=("$arg")
done
exec "${CMDS[@]@UNIX_BACKGROUND@}"
@MAINCLASS@ \
@APP_ARGUMENTS@"$@"@UNIX_BACKGROUND@

0 comments on commit d794ec4

Please sign in to comment.