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

commit ed001409d13330de562662a21d64b1e08b30f412
Author: Miklos Vajna <[EMAIL PROTECTED]>
Date:   Thu May 15 13:45:48 2008 +0200

fblint: silence warning in chroot when dirname is not pkgname

diff --git a/fblint b/fblint
index 471325d..56c0708 100755
--- a/fblint
+++ b/fblint
@@ -114,7 +114,8 @@ check "sbu" "grep -i -q \"^# Compiling Time: [~0-9\.]\+ 
SBU$\" $_fblint_fb"
check "maintainer" "grep -q '^# Maintainer: ' $_fblint_fb"
check "syntax errors" "source $_fblint_fb"
check "pkgname" "[ ! -z \"$pkgname\" ]"
-check "dirname is the same as pkgname" "[ $pkgname == `pwd|sed 's|.*/||'` ]"
+# fst is a special exception for chroot builds
+check "dirname is the same as pkgname" "[ $pkgname == `pwd|sed 's|.*/||'` -o 
fst == `pwd|sed 's|.*/||'` ]"
check "uppercase letters in pkgname" "! echo $pkgname | grep -q '[A-Z]'"
check "pkgver" "[ ! -z \"$pkgver\" ]"
check "hyphen-less pkgver" "[ ! `echo $pkgver | grep '-'` ]"
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to