You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by jd...@apache.org on 2007/03/09 02:09:59 UTC

svn commit: r516248 - /geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/util/ShellExecutor.groovy

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() {