Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=a5baa7a55e6d528962b8d1b1d1f95132e333f64e
commit a5baa7a55e6d528962b8d1b1d1f95132e333f64e Author: Marius Cirsta <[email protected]> Date: Thu Jan 29 17:27:50 2015 +0200 * only show a missing source once diff --git a/t/srcmissing b/t/srcmissing index 9e1c7de..7b2c467 100755 --- a/t/srcmissing +++ b/t/srcmissing @@ -25,6 +25,7 @@ reset_env () { export Fpkgversep='-' startdir=`pwd` } +prevfile="" cd $startdir for i in `find source -maxdepth 5 -name FrugalBuild` do @@ -42,7 +43,8 @@ do do [[ "${k:0:25}" = "http://ftp.frugalware.org" ]] && continue file="`strip_url $k`" - if [ ! -e "$file" ]; then + if [ ! -e "$file" ] && [ "$prevfile" != "$file" ]; then + prevfile="$file" echo "`dirname $i`: $file is missing (`grep Maintainer FrugalBuild |sed 's/.*: //'`)" if [ ! -z "$download" ]; then echo "downloading $file..." _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
