ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject [02/12] ant git commit: incorrect conditions
Date Wed, 27 Dec 2017 12:31:44 GMT
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/master
Commit: 603124a79bd612b7389561d50ce2eb290a462533
Parents: 580e99c
Author: twogee <g.grigelionis@gmail.com>
Authored: Tue Dec 19 16:55:17 2017 +0100
Committer: twogee <g.grigelionis@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


Mime
View raw message