continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r939293 - /continuum/trunk/release-script.sh
Date Thu, 29 Apr 2010 12:02:58 GMT
Author: brett
Date: Thu Apr 29 12:02:57 2010
New Revision: 939293

URL: http://svn.apache.org/viewvc?rev=939293&view=rev
Log:
fix tests for empty files due to behaviour of -O

Modified:
    continuum/trunk/release-script.sh

Modified: continuum/trunk/release-script.sh
URL: http://svn.apache.org/viewvc/continuum/trunk/release-script.sh?rev=939293&r1=939292&r2=939293&view=diff
==============================================================================
--- continuum/trunk/release-script.sh (original)
+++ continuum/trunk/release-script.sh Thu Apr 29 12:02:57 2010
@@ -21,7 +21,7 @@ cd binaries
 for i in tar.gz tar.gz.asc tar.gz.md5 tar.gz.sha1 zip zip.asc zip.md5 zip.sha1
 do
   wget -O apache-continuum-$version-bin.$i $repo/org/apache/continuum/continuum-jetty/$version/continuum-jetty-$version-bin.$i
-  if [ ! -f apache-continuum-$version-bin.$i ]; then
+  if [ ! -s apache-continuum-$version-bin.$i ]; then
     echo Unable to find apache-continuum-$version-bin.$i
     exit 1
   fi
@@ -30,7 +30,7 @@ done
 for i in tar.gz tar.gz.asc tar.gz.md5 tar.gz.sha1 zip zip.asc zip.md5 zip.sha1
 do
   wget -O apache-continuum-buildagent-$version-bin.$i $repo/org/apache/continuum/continuum-buildagent-jetty/$version/continuum-buildagent-jetty-$version-bin.$i
-  if [ ! -f apache-continuum-buildagent-$version-bin.$i ]; then
+  if [ ! -s apache-continuum-buildagent-$version-bin.$i ]; then
     echo Unable to find apache-continuum-buildagent-$version-bin.$i
     exit 1
   fi
@@ -39,7 +39,7 @@ done
 for i in war war.asc war.md5 war.sha1
 do
   wget -O apache-continuum-$version.$i $repo/org/apache/continuum/continuum-webapp/$version/continuum-webapp-$version.$i
-  if [ ! -f apache-continuum-$version.$i ]; then
+  if [ ! -s apache-continuum-$version.$i ]; then
     echo Unable to find apache-continuum-$version.$i
     exit 1
   fi
@@ -48,7 +48,7 @@ done
 for i in war war.asc war.md5 war.sha1
 do
   wget -O apache-continuum-buildagent-$version.$i $repo/org/apache/continuum/continuum-buildagent-webapp/$version/continuum-buildagent-webapp-$version.$i
-  if [ ! -f apache-continuum-buildagent-$version.$i ]; then
+  if [ ! -s apache-continuum-buildagent-$version.$i ]; then
     echo Unable to find apache-continuum-buildagent-$version.$i
     exit 1
   fi
@@ -57,7 +57,7 @@ done
 for i in zip zip.asc zip.md5 zip.sha1
 do
   wget -O apache-continuum-$version-docs.$i $repo/org/apache/continuum/continuum-docs/$version/continuum-docs-$version-docs.$i
-  if [ ! -f apache-continuum-$version-docs.$i ]; then
+  if [ ! -s apache-continuum-$version-docs.$i ]; then
     echo Unable to find apache-continuum-$version-docs.$i
     exit 1
   fi
@@ -70,7 +70,7 @@ cd source
 for i in zip zip.asc zip.md5 zip.sha1
 do
   wget -O apache-continuum-$version-src.$i $repo/org/apache/continuum/continuum/$version/continuum-$version.$i
-  if [ ! -f apache-continuum-$version-src.$i ]; then
+  if [ ! -s apache-continuum-$version-src.$i ]; then
     echo Unable to find apache-continuum-$version-src.$i
     exit 1
   fi



Mime
View raw message