incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p..@apache.org
Subject svn commit: r1206844 - /incubator/ooo/trunk/main/fetch_tarballs.sh
Date Sun, 27 Nov 2011 21:02:31 GMT
Author: pfg
Date: Sun Nov 27 21:02:31 2011
New Revision: 1206844

URL: http://svn.apache.org/viewvc?rev=1206844&view=rev
Log:
Minor mismerges in previous commit.

Modified:
    incubator/ooo/trunk/main/fetch_tarballs.sh

Modified: incubator/ooo/trunk/main/fetch_tarballs.sh
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/fetch_tarballs.sh?rev=1206844&r1=1206843&r2=1206844&view=diff
==============================================================================
--- incubator/ooo/trunk/main/fetch_tarballs.sh (original)
+++ incubator/ooo/trunk/main/fetch_tarballs.sh Sun Nov 27 21:02:31 2011
@@ -1,4 +1,4 @@
-#!/bin/sh -x
+#!/bin/sh
 #*************************************************************************
 #
 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -204,6 +204,11 @@ for i in $filelist ; do
 		echo fetching $i
 		$fetch_bin $fetch_args $tarurl/$i 2>&1 | tee -a $logfile
                 wret=$?
+                if [ $wret -ne 0 ]; then
+                    mv $i ${i}_broken
+                    failed="$failed $i"
+                    wret=0
+                fi
                 if [ -f $i -a -n "$md5sum" ]; then
                     sum=`$md5sum $md5special $i | sed "s/ .*//"`
                     sum2=`echo $i | sed "s/-.*//"`



Mime
View raw message