You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by gi...@apache.org on 2017/12/19 15:55:32 UTC

ant git commit: incorrect conditions

Repository: ant
Updated Branches:
  refs/heads/1.9.x 580e99c5b -> 603124a79


incorrect conditions

Project: http://git-wip-us.apache.org/repos/asf/ant/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant/commit/603124a7
Tree: http://git-wip-us.apache.org/repos/asf/ant/tree/603124a7
Diff: http://git-wip-us.apache.org/repos/asf/ant/diff/603124a7

Branch: refs/heads/1.9.x
Commit: 603124a79bd612b7389561d50ce2eb290a462533
Parents: 580e99c
Author: twogee <g....@gmail.com>
Authored: Tue Dec 19 16:55:17 2017 +0100
Committer: twogee <g....@gmail.com>
Committed: Tue Dec 19 16:55:17 2017 +0100

----------------------------------------------------------------------
 src/script/runant.pl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ant/blob/603124a7/src/script/runant.pl
----------------------------------------------------------------------
diff --git a/src/script/runant.pl b/src/script/runant.pl
index 63b5bb7..8089b56 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