summaryrefslogtreecommitdiff
path: root/bin/dobin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-03-11 02:42:34 +0000
committerZac Medico <zmedico@gentoo.org>2006-03-11 02:42:34 +0000
commit5570363b6c9b75df1d6320f92ec28ccbe7111998 (patch)
treee19e4d731b8c8894e9e4fc6bab745ce220ea321c /bin/dobin
parentTrigger the clean phase at the end of dblink.unmerge() in order to remove cru... (diff)
downloadportage-multirepo-5570363b6c9b75df1d6320f92ec28ccbe7111998.tar.gz
portage-multirepo-5570363b6c9b75df1d6320f92ec28ccbe7111998.tar.bz2
portage-multirepo-5570363b6c9b75df1d6320f92ec28ccbe7111998.zip
Make dobin and dosbin use PORTAGE_INST_UID and PORTAGE_INST_GID.
svn path=/main/trunk/; revision=2845
Diffstat (limited to 'bin/dobin')
-rwxr-xr-xbin/dobin2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/dobin b/bin/dobin
index 103c1c91..ba22f81e 100755
--- a/bin/dobin
+++ b/bin/dobin
@@ -16,7 +16,7 @@ ret=0
for x in "$@" ; do
if [[ -e ${x} ]] ; then
- install -m0755 -o 0 -g 0 "${x}" "${D}${DESTTREE}/bin"
+ install -m0755 -o ${PORTAGE_INST_UID} -g ${PORTAGE_INST_GID} "${x}" "${D}${DESTTREE}/bin"
else
echo "!!! ${0##*/}: ${x} does not exist" 1>&2
false