geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r516248 - /geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/util/ShellExecutor.groovy
Date Fri, 09 Mar 2007 01:09:59 GMT
Author: jdillon
Date: Thu Mar  8 17:09:58 2007
New Revision: 516248

URL: http://svn.apache.org/viewvc?view=rev&rev=516248
Log:
Fix stupid mistake 

Modified:
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/util/ShellExecutor.groovy

Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/util/ShellExecutor.groovy
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/util/ShellExecutor.groovy?view=diff&rev=516248&r1=516247&r2=516248
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/util/ShellExecutor.groovy
(original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/util/ShellExecutor.groovy
Thu Mar  8 17:09:58 2007
@@ -38,7 +38,9 @@
     
     def ShellExecutor(String script) {
         body << '#!/bin/sh'
-        this << script
+        if (script) {
+            this << script
+        }
     }
     
     def ShellExecutor() {



Mime
View raw message