[Blends-commit] r3376 - /blends/trunk/machine_readable/fetch-machine-readable

tille at users.alioth.debian.org tille at users.alioth.debian.org
Wed May 30 13:24:43 UTC 2012


Author: tille
Date: Wed May 30 13:24:43 2012
New Revision: 3376

URL: http://svn.debian.org/wsvn/blends/?sc=1&rev=3376
Log:
Exit on error is not a good idea but verify the results in the end before removing old archive seems to be safe to not remove all data from UDD

Modified:
    blends/trunk/machine_readable/fetch-machine-readable

Modified: blends/trunk/machine_readable/fetch-machine-readable
URL: http://svn.debian.org/wsvn/blends/blends/trunk/machine_readable/fetch-machine-readable?rev=3376&op=diff
==============================================================================
--- blends/trunk/machine_readable/fetch-machine-readable (original)
+++ blends/trunk/machine_readable/fetch-machine-readable Wed May 30 13:24:43 2012
@@ -1,4 +1,4 @@
-#!/bin/sh -e
+#!/bin/sh
 # This script should be called on Alioth to gather all machine readable files
 # of VCSes mentioned in SVNDIRS and GITDIRS
 #
@@ -132,6 +132,11 @@
   done
 done
 
+FOUNDDIRS=`ls $TDNAME | wc -l`
+if [ $FOUNDDIRS -lt 10 ] ; then
+  echo "Found way to less packages in $TDNAME" >>  $ERRLOG
+  exit
+fi
 rm -f $MACHINEREADABLEARCHIVE
 cd $TARGETDIR
 cd ..




More information about the Blends-commit mailing list