Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=85fb4301b525d17207ea1bee8cda7720f57d5394

commit 85fb4301b525d17207ea1bee8cda7720f57d5394
Author: Miklos Vajna <vmik...@frugalware.org>
Date:   Sat Oct 15 09:07:41 2011 +0200

t/srcmissing: try to fix bogus flashplugin error

diff --git a/t/srcmissing b/t/srcmissing
index 66ca9d5..fdce649 100755
--- a/t/srcmissing
+++ b/t/srcmissing
@@ -34,13 +34,13 @@ do
if [ ! -z "$pkgname" -a ! "$nobuild" -a ! "`check_option NOBUILD`" -a ! 
"`check_option NOMIRROR`" ]; then
for j in "${archs[@]}"
do
-                       [[ "$j" =~ '^!' ]] && continue
+                       [[ "${j:0:1}" = '!' ]] && continue
reset_env
export CARCH=$j
. ./FrugalBuild || echo "errors parsing the FrugalBuild for $j"
for k in "${source[@]}"
do
-                               [[ "$k" =~ "http://ftp.frugalware.org"; ]] && 
continue
+                               [[ "${k:0:25}" = "http://ftp.frugalware.org"; ]] 
&& continue
file="`strip_url $k`"
if [ ! -e "$file" ]; then
echo "`dirname $i`: $file is missing (`grep Maintainer FrugalBuild |sed 's/.*: 
//'`)"
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to