From: Fabian Groffen <grobian@gentoo.org>
Date: Thu, 10 Feb 2011 18:43:18 +0000 (+0100)
Subject: tarball.sh: align version sedding with ebuild
X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=461d8ceb62daedcf17fa251e193173a39e12a49e;p=portage.git

tarball.sh: align version sedding with ebuild
---

diff --git a/tarball.sh b/tarball.sh
index fd58e3ba8..9bfc4097e 100755
--- a/tarball.sh
+++ b/tarball.sh
@@ -27,7 +27,8 @@ fi
 install -d -m0755 ${DEST}
 rsync -a --exclude='.git' --exclude='.hg' . ${DEST}
 sed -i -e '/^VERSION=/s/^.*$/VERSION="'${V}-prefix'"/' ${DEST}/pym/portage/__init__.py
-sed -i -e "s/VERSION/${V}-prefix/g" ${DEST}/man/emerge.1
+sed -i -e "1s/VERSION/${V}-prefix/" ${DEST}/doc/fragment/version
+sed -i -e "1s/VERSION/${V}-prefix/" ${DEST}/ man/*
 sed -i -e "s/@version@/${V}/" ${DEST}/configure.in
 
 cd ${DEST}