pacman/scripts
Chantry Xavier f950c26307 makepkg : improve determination of svn revision.
The previous sed command matched every line starting with r.
For example, with mpd-svn package in aur, the svn log output was rather big,
and there were several lines starting with r (the actual revision : r7155,
but also other lines starting with reverting and run), so this broke makepkg:

> makepkg
==> Determining latest svn revision...
  -> Version found: 7155
everting
un
sed: -e expression #1, char 27: unterminated `s' command

To make the sed command more bullet proof, I added the -q option of svn log,
which produces a quieter output, without the log.
And I changed the sed command to only match numbers for the revision.

Signed-off-by: Chantry Xavier <shiningxc@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
2008-01-27 11:49:24 -06:00
..
.gitignore Remove makeworld from pacman package 2008-01-06 10:42:35 -06:00
Makefile.am Remove makeworld from pacman package 2008-01-06 10:42:35 -06:00
gensync.sh.in Update Gensync and Updatesync to use new PKGEXT variable 2008-01-13 12:21:36 -06:00
makepkg.sh.in makepkg : improve determination of svn revision. 2008-01-27 11:49:24 -06:00
pacman-optimize.sh.in Update GNU GPL boilerplate and copyright dates 2007-12-10 22:55:39 -06:00
rankmirrors.py.in Remove hardcoded DBEXT value from script 2008-01-06 09:44:28 -06:00
repo-add.sh.in Fix typos in code comments 2008-01-13 23:26:31 -06:00
repo-remove.sh.in Fix typos in code comments 2008-01-13 23:26:31 -06:00
updatesync.sh.in Update Gensync and Updatesync to use new PKGEXT variable 2008-01-13 12:21:36 -06:00