[embjopr-commits] EMBJOPR SVN: r766 - trunk/jsfunit/testdata.

embjopr-commits at lists.jboss.org embjopr-commits at lists.jboss.org
Tue Sep 22 16:42:39 EDT 2009


Author: ozizka at redhat.com
Date: 2009-09-22 16:42:39 -0400 (Tue, 22 Sep 2009)
New Revision: 766

Modified:
   trunk/jsfunit/testdata/hudson_shell_script.sh
Log:
 * hudson shell script: if [ ! -e eap5.zip ] ; then wget ...

Modified: trunk/jsfunit/testdata/hudson_shell_script.sh
===================================================================
--- trunk/jsfunit/testdata/hudson_shell_script.sh	2009-09-22 19:42:14 UTC (rev 765)
+++ trunk/jsfunit/testdata/hudson_shell_script.sh	2009-09-22 20:42:39 UTC (rev 766)
@@ -16,7 +16,9 @@
 ###  Get and unzip EAP 5 binaries
 #if [ -n $EAP_URL ] ; then
 if [[ "$EAP_ZIP_PATH" = http:* ]] ; then
-  wget -m -O eap5.zip $EAP_ZIP_PATH   # --no-clobber
+  if [ ! -e eap5.zip ] ; then
+    wget --no-clobber -O eap5.zip $EAP_ZIP_PATH   # -m
+  fi
   EAP_ZIP_PATH=eap5.zip
 fi
 rm -rf jboss-eap-5.0



More information about the embjopr-commits mailing list