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

commit e11dfa8e393a089c638bb07a5bef3edc149e2e66
Author: Miklos Vajna <vmik...@frugalware.org>
Date:   Tue Aug 3 02:15:04 2010 +0200

include/scm.sh: update bzr up2date to just check for the pkgver suffix like the 
git one does

diff --git a/source/include/scm.sh b/source/include/scm.sh
index 36433a8..280e765 100644
--- a/source/include/scm.sh
+++ b/source/include/scm.sh
@@ -95,7 +95,7 @@ elif [ "$_F_scm_type" == "mercurial" ]; then
up2date="date +%Y%m%d%H%M%S --date '`lynx -dump $_F_scm_url/?style=rss|grep 
pubDate|sed 's/.*>\(.*\)<.*/\1/;q'`'"
makedepends=(${makedepen...@]} 'mercurial')
elif [ "$_F_scm_type" == "bzr" ]; then
-       up2date="bzr log -r revno:-1 $_F_scm_url|grep ^revno|sed 's/revno: 
/bzr/'"
+       up2date="echo -n ${pkgver%%.bzr*}.bzr;bzr revno $_F_scm_url"
makedepends=(${makedepen...@]} 'bzr')
fi
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to