Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=9e4a821955f415ec607d5fb39476dbd70103831d
commit 9e4a821955f415ec607d5fb39476dbd70103831d Author: crazy <[EMAIL PROTECTED]> Date: Sun Sep 14 16:42:23 2008 +0200 t/up2date * use find on ../source/.. to get the FB's * allow sourceforge.sh to use the 'buggy' ( old-style up2date ) * for now , until we get an better way to handle it diff --git a/t/up2date b/t/up2date index 8372f88..6e16f9a 100755 --- a/t/up2date +++ b/t/up2date @@ -5,18 +5,13 @@ if [ "$1" == "--help" ]; then exit 1 fi -cd ../source - -for i in * +for fb in $(find ../source -name FrugalBuild) do - cd $i - for j in * - do - [ -d $j ] || continue - cd $j - sh -x -c 'source /usr/lib/frugalware/fwmakepkg; source FrugalBuild' 2>&1|grep -q '+ lynx' && \ - echo "$j is buggy (`grep Maintainer FrugalBuild |sed 's/.*: //'`)" - cd .. - done - cd .. + dir=$(echo $fb|sed 's/\/\F.*//;s/.*\///') + ## allow for now sourceforge.sh to use the buggy up2date until we + ## figure an better way to handle the up2date - crazy - + if ! grep -q 'sourceforge' $fb; then + sh -x -c "source /usr/lib/frugalware/fwmakepkg; source $fb" 2>&1|grep -q '+ lynx' && \ + echo "$dir is buggy (`grep Maintainer $fb |sed 's/.*: //'`)" + fi done _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
