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

commit a0fb4ee1977af3701942860fcf966fc1220b6714
Author: VMiklos <[EMAIL PROTECTED]>
Date:   Mon Sep 3 15:15:16 2007 +0200

fblint: fix get_root()

diff --git a/fblint b/fblint
index 5b8d485..c301569 100755
--- a/fblint
+++ b/fblint
@@ -47,7 +47,7 @@ get_root()
local i
i=`git rev-parse --git-dir 2>/dev/null`
if [ -n "$i" ]; then
-               echo `dirname $i`
+               echo $(basename $(dirname $i))
_scm=git
return
fi
@@ -170,7 +170,7 @@ if [ ! -z "$subpkgs" ]; then
check "right number of suboptions" "[ \"[EMAIL PROTECTED]" = 0 ] || [ \"[EMAIL 
PROTECTED]" = \"[EMAIL PROTECTED]" ]"
fi

-if [ "`get_root`" = "frugalware-stable" ]; then
+if [ "`get_root`" = "stable" ]; then
check "unchanged pkgrel" "echo $pkgrel | grep -q '\(siwenna\|terminus\)'"
fi
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to