Gentoo Archives: gentoo-commits

From: Fabian Groffen <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:prefix commit in: /
Date: Thu, 10 Feb 2011 18:44:52
Message-Id: 461d8ceb62daedcf17fa251e193173a39e12a49e.grobian@gentoo
1 commit: 461d8ceb62daedcf17fa251e193173a39e12a49e
2 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 10 18:43:18 2011 +0000
4 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 10 18:43:18 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=461d8ceb
7
8 tarball.sh: align version sedding with ebuild
9
10 ---
11 tarball.sh | 3 ++-
12 1 files changed, 2 insertions(+), 1 deletions(-)
13
14 diff --git a/tarball.sh b/tarball.sh
15 index fd58e3b..9bfc409 100755
16 --- a/tarball.sh
17 +++ b/tarball.sh
18 @@ -27,7 +27,8 @@ fi
19 install -d -m0755 ${DEST}
20 rsync -a --exclude='.git' --exclude='.hg' . ${DEST}
21 sed -i -e '/^VERSION=/s/^.*$/VERSION="'${V}-prefix'"/' ${DEST}/pym/portage/__init__.py
22 -sed -i -e "s/VERSION/${V}-prefix/g" ${DEST}/man/emerge.1
23 +sed -i -e "1s/VERSION/${V}-prefix/" ${DEST}/doc/fragment/version
24 +sed -i -e "1s/VERSION/${V}-prefix/" ${DEST}/ man/*
25 sed -i -e "s/@version@/${V}/" ${DEST}/configure.in
26
27 cd ${DEST}