Skip to content

Commit

Permalink
Fix wrong handling of java and slave options in powershell script
Browse files Browse the repository at this point in the history
  • Loading branch information
sitob80 committed Jun 20, 2018
1 parent 065e6dd commit 28e889c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Write-Output "###################################"

$RUN_CMD="java"

if (!$JAVA_OPTS) {
if ($JAVA_OPTS) {
$RUN_CMD="$RUN_CMD $JAVA_OPTS"
}

Expand All @@ -53,7 +53,7 @@ if ($NO_CERTIFICATE_CHECK -eq "true") {
$RUN_CMD="$RUN_CMD -noCertificateCheck"
}

if (!$SLAVE_OPTS) {
if ($SLAVE_OPTS) {
$RUN_CMD="$RUN_CMD $SLAVE_OPTS"
}

Expand Down

0 comments on commit 28e889c

Please sign in to comment.