changeset 1599:e8d846fb56eb

Make sha1-for-source.txt only test *.patch files out of sources/patches so stupid ".orig" files don't cause perpetual re-extraction.
author Rob Landley <rob@landley.net>
date Tue, 30 Apr 2013 00:27:52 -0500
parents 3cbf1abde44a
children e50c2b9588b8
files sources/download_functions.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sources/download_functions.sh	Mon Apr 29 22:03:14 2013 -0500
+++ b/sources/download_functions.sh	Tue Apr 30 00:27:52 2013 -0500
@@ -112,7 +112,7 @@
   SHALIST=$(cat "$SHA1FILE" 2> /dev/null)
   if [ ! -z "$SHALIST" ]
   then
-    for i in "$SHA1TAR" $(sha1file "$PATCHDIR/$PACKAGE"-* 2>/dev/null)
+    for i in "$SHA1TAR" $(sha1file "$PATCHDIR/$PACKAGE"-*.patch 2>/dev/null)
     do
       # Is this sha1 in the file?
       if [ -z "$(echo "$SHALIST" | grep "$i")" ]