summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2008-01-27 18:54:52 +0100
committerDan McGee <dan@archlinux.org>2008-01-27 18:54:52 +0100
commit9fbb77c91ba411fa46b1f2955893e7a39291f46a (patch)
treed756ecf61abf14f536cc000319e43a617fefe4da /scripts
parent9bfbd739176ebc41e4ec93dcd21264b87640aa5b (diff)
parent0775c38e72c06b9ad428c4e6dbfd0b6f0cda2818 (diff)
downloadpacman-9fbb77c91ba411fa46b1f2955893e7a39291f46a.tar.gz
pacman-9fbb77c91ba411fa46b1f2955893e7a39291f46a.tar.xz
Merge branch 'maint'
Diffstat (limited to 'scripts')
-rw-r--r--scripts/makepkg.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 998e240c..f5d5e052 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -1007,7 +1007,7 @@ devel_check() {
newpkgver=$(date +%Y%m%d)
elif [ ! -z ${_svntrunk} ] && [ ! -z ${_svnmod} ] ; then
msg "$(gettext "Determining latest svn revision...")"
- newpkgver=$(svn log $_svntrunk --limit 1 | sed -n 's/^r\([^ ]*\) .*$/\1/p')
+ newpkgver=$(svn log $_svntrunk --limit 1 -q | sed -n 's/^r\([0-9]*\) .*$/\1/p')
elif [ ! -z ${_bzrtrunk} ] && [ ! -z ${_bzrmod} ] ; then
msg "$(gettext "Determining latest bzr revision...")"
newpkgver=$(bzr revno ${_bzrtrunk})