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

commit 6e4794d442f7bf402b5e3623348381357fe0fbf2
Author: Miklos Vajna <[email protected]>
Date:   Sun Oct 25 21:46:04 2009 +0100

kernel.sh: fix for 8fecdef

diff --git a/source/include/kernel.sh b/source/include/kernel.sh
index 943b407..9cc23fd 100644
--- a/source/include/kernel.sh
+++ b/source/include/kernel.sh
@@ -172,7 +172,11 @@ if Fuse $USE_DEVEL; then
signatures=('' '' '')
_F_scm_type="git"
_F_scm_url="git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6"
-       _F_scm_tag="v$(echo $pkgver|sed 's/\.rc/-rc/;s/\./-/g')"
+       if echo $pkgver |grep -q -- '\.rc'; then
+               _F_scm_tag="v${pkgver//.rc/-rc}"
+       else
+               _F_scm_tag="v${pkgver//./-}"
+       fi
Finclude scm
fi
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to