From 603124a79bd612b7389561d50ce2eb290a462533 Mon Sep 17 00:00:00 2001 From: twogee Date: Tue, 19 Dec 2017 16:55:17 +0100 Subject: [PATCH] incorrect conditions --- src/script/runant.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/script/runant.pl b/src/script/runant.pl index 63b5bb74f..8089b5677 100644 --- a/src/script/runant.pl +++ b/src/script/runant.pl @@ -105,12 +105,12 @@ if ($oncygwin) { } push @ARGS, "-classpath", "$localpath"; push @ARGS, "-Dant.home=$HOME"; -if (!$CYGHOME) { +if ($CYGHOME) { push @ARGS, "-Dcygwin.user.home=\"$CYGHOME\"" } push @ARGS, "org.apache.tools.ant.launch.Launcher", @ANT_ARGS; push @ARGS, @ARGV; -if (!$classpath) { +if ($classpath) { if ($onnetware) { # make classpath literally $CLASSPATH # this is to avoid pushing us over the 512 character limit