summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-07-13 23:42:34 +0000
committerZac Medico <zmedico@gentoo.org>2007-07-13 23:42:34 +0000
commit58d326af715f7a0dec6f2dde1417a8cd637dc96c (patch)
treea51242079e64c0c8c693ab41a30d3a977f60aff2 /bin
parente0fe89f2fa55f8689e2972a98e05dd5d7b6f2893 (diff)
downloadportage-58d326af715f7a0dec6f2dde1417a8cd637dc96c.tar.gz
portage-58d326af715f7a0dec6f2dde1417a8cd637dc96c.tar.bz2
portage-58d326af715f7a0dec6f2dde1417a8cd637dc96c.zip
Save the repo name along with the other metadata inside dyn_compile() so that it's saved inside binary packages for when they are finally merged. (trunk r7247)
svn path=/main/branches/2.1.2/; revision=7248
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ebuild.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index cc09080bd..d829bc0ed 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -1008,6 +1008,7 @@ dyn_compile() {
bzip2 -f9 environment
cp "${EBUILD}" "${PF}.ebuild"
+ [ -n "${PORTAGE_REPO_NAME}" ] && echo "${PORTAGE_REPO_NAME}" > repository
if hasq nostrip ${FEATURES} ${RESTRICT} || hasq strip ${RESTRICT}
then
touch DEBUGBUILD