geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r480756 - /geronimo/genesis/trunk/build-harness/bin/collectreports.groovy
Date Wed, 29 Nov 2006 22:57:49 GMT
Author: jdillon
Date: Wed Nov 29 14:57:48 2006
New Revision: 480756

URL: http://svn.apache.org/viewvc?view=rev&rev=480756
Log:
special case for "."

Modified:
    geronimo/genesis/trunk/build-harness/bin/collectreports.groovy

Modified: geronimo/genesis/trunk/build-harness/bin/collectreports.groovy
URL: http://svn.apache.org/viewvc/geronimo/genesis/trunk/build-harness/bin/collectreports.groovy?view=diff&rev=480756&r1=480755&r2=480756
==============================================================================
--- geronimo/genesis/trunk/build-harness/bin/collectreports.groovy (original)
+++ geronimo/genesis/trunk/build-harness/bin/collectreports.groovy Wed Nov 29 14:57:48 2006
@@ -45,9 +45,14 @@
                     if (dir != null) {
                         throw new Exception("Unexpected argument: ${arg}")
                     }
-                    dir = new File(arg)
-                    if (!dir.isAbsolute()) {
-                        dir = new File(basedir, arg)
+                    if (arg == ".") {
+                        dir = basedir
+                    }
+                    else {
+                        dir = new File(arg)
+                        if (!dir.isAbsolute()) {
+                            dir = new File(basedir, arg)
+                        }
                     }
                     break
             }



Mime
View raw message