Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-tools.git;a=commitdiff;h=22a85ce1bb9cadfbd3db294417143c2171e6614b

commit 22a85ce1bb9cadfbd3db294417143c2171e6614b
Author: Miklos Vajna <[EMAIL PROTECTED]>
Date:   Sun Aug 3 16:04:24 2008 +0200

fblint: blacklist the 'option' variable

diff --git a/fblint b/fblint
index b13aecc..6c39be9 100755
--- a/fblint
+++ b/fblint
@@ -123,6 +123,9 @@ check "url" "[ ! -z \"$url\" ]"
check "depends" "[ ! -z \"$depends\" -o ! -z \"$rodepends\" ] || set|grep -q 
^depends="
check "buggy empty depends" "[ ! -z \"$depends\" -o [EMAIL PROTECTED] == 0 ]"
check "groups" "[ ! -z \"$groups\" ]"
+# this var is used internally by gensync/updatesync, FBs should not deal
+# with it
+check "empty option" "[ -z \"$option\" ]"
check "valid first group" "! echo $groups |grep -q -- - || echo $groups|grep -q 
-- -extra$"
check "valid options()" "[ -z \"$(echo [EMAIL PROTECTED]|tr ' ' '\n' |grep -v 
'\(nodocs\|nostrip\|force\|nobuild\|nofakeroot\|scriptlet\|stick\|nomirror\|noversrc\)')\"
 ]"
check "archs" "[ ! -z \"$archs\" ]"
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to