Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=36cdad6c2e844d9a379764c8f080c5ea9807109f
commit 36cdad6c2e844d9a379764c8f080c5ea9807109f Author: Miklos Vajna <vmik...@frugalware.org> Date: Tue Jul 28 22:40:43 2009 +0200 scm.sh: allow anything in the subversion pkgver, as long as it ends with the last revision num diff --git a/source/include/scm.sh b/source/include/scm.sh index 6e59660..67fb911 100644 --- a/source/include/scm.sh +++ b/source/include/scm.sh @@ -85,7 +85,7 @@ elif [ "$_F_scm_type" == "cvs" ]; then up2date="date +%Y%m%d" makedepends=(${makedepen...@]} 'cvs') elif [ "$_F_scm_type" == "subversion" ]; then - up2date="echo -n svn; svn log $_F_scm_url --limit=1 |sed -n '/^r/s/r\([0-9]\+\) .*/\1/p'" + up2date="echo -n $pkgver|sed 's/[0-9]\+$//'; svn log $_F_scm_url --limit=1 |sed -n '/^r/s/r\([0-9]\+\) .*/\1/p'" makedepends=(${makedepen...@]} 'subversion') elif [ "$_F_scm_type" == "git" ]; then up2date="echo -n ${pkgver%%.g*}.g;git ls-remote $_F_scm_url|sed 's/^\(.\{7\}\).*/\1/;q'" _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git