[Libreoffice-commits] .: Branch 'libreoffice-3-3' - fetch_tarballs.sh

Robert Nagy rnagy at kemper.freedesktop.org
Wed Dec 1 02:00:06 PST 2010


 fetch_tarballs.sh |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit e3a4ebbc4065c1ca3fcb7cbc8ab767a0546c8da0
Author: Robert Nagy <robert at openbsd.org>
Date:   Wed Dec 1 10:58:54 2010 +0100

    Do not try to break 2 levels if ther is only one loop to break

diff --git a/fetch_tarballs.sh b/fetch_tarballs.sh
index 5a866ac..7018124 100755
--- a/fetch_tarballs.sh
+++ b/fetch_tarballs.sh
@@ -56,7 +56,7 @@ for i in wget /usr/bin/wget /usr/local/bin/wget /usr/sfw/bin/wget /opt/sfw/bin/w
     if [ $ret -eq 0 ]; then
         wget=$i
         echo found wget: $wget
-        break 2
+        break
     fi
 done
 
@@ -69,7 +69,7 @@ if [ -z "$wget" ]; then
         if [ -x $i ]; then
             curl=$i
             echo found curl: $curl
-            break 2
+            break
         fi
     done
 fi
@@ -89,7 +89,7 @@ for i in md5 md5sum /usr/local/bin/md5sum gmd5sum /usr/sfw/bin/md5sum /opt/sfw/b
     if [ $ret -eq 0 ]; then
         md5sum=$i
         echo found md5sum: $md5sum
-        break 2
+        break
     fi
 done
 


More information about the Libreoffice-commits mailing list