summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-04-28 07:26:51 +0000
committerZac Medico <zmedico@gentoo.org>2010-04-28 07:26:51 +0000
commit36e396228f374e2115a01f03e7897258b922d4ce (patch)
treedcb0b545bbfb44f560fbb4b68d0ddab2a0dad7fb /sys-apps
parentVersion bump. (diff)
downloadgentoo-2-36e396228f374e2115a01f03e7897258b922d4ce.tar.gz
gentoo-2-36e396228f374e2115a01f03e7897258b922d4ce.tar.bz2
gentoo-2-36e396228f374e2115a01f03e7897258b922d4ce.zip
Fix whitespace handling when installing bin and pym directores.
(Portage version: 2.2_rc67_p93/cvs/Linux i686)
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/portage/ChangeLog5
-rw-r--r--sys-apps/portage/portage-9999.ebuild10
2 files changed, 9 insertions, 6 deletions
diff --git a/sys-apps/portage/ChangeLog b/sys-apps/portage/ChangeLog
index 94bd5b874e94..1d92e7ceaea8 100644
--- a/sys-apps/portage/ChangeLog
+++ b/sys-apps/portage/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-apps/portage
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/ChangeLog,v 1.701 2010/04/14 18:52:02 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/ChangeLog,v 1.702 2010/04/28 07:26:51 zmedico Exp $
+
+ 28 Apr 2010; Zac Medico <zmedico@gentoo.org> portage-9999.ebuild:
+ Fix whitespace handling when installing bin and pym directores.
14 Apr 2010; Jeroen Roovers <jer@gentoo.org> portage-2.1.8.3.ebuild:
Stable for HPPA (bug #314247).
diff --git a/sys-apps/portage/portage-9999.ebuild b/sys-apps/portage/portage-9999.ebuild
index 9c3629152556..7aae72028d9e 100644
--- a/sys-apps/portage/portage-9999.ebuild
+++ b/sys-apps/portage/portage-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-9999.ebuild,v 1.3 2010/03/28 05:49:39 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-9999.ebuild,v 1.4 2010/04/28 07:26:51 zmedico Exp $
# Require EAPI 2 since we now require at least python-2.6 (for python 3
# syntax support) which also requires EAPI 2.
@@ -163,8 +163,8 @@ src_install() {
local x symlinks
- for x in $(find "$S"/bin -type d) ; do
- x=${x#$S/}
+ cd "$S" || die "cd failed"
+ for x in $(find bin -type d) ; do
exeinto $portage_base/$x || die "exeinto failed"
cd "$S"/$x || die "cd failed"
doexe $(find . -mindepth 1 -maxdepth 1 -type f ! -type l) || \
@@ -175,8 +175,8 @@ src_install() {
fi
done
- for x in $(find "$S"/pym -type d) ; do
- x=${x#$S/}
+ cd "$S" || die "cd failed"
+ for x in $(find pym/* -type d) ; do
insinto $portage_base/$x || die "insinto failed"
cd "$S"/$x || die "cd failed"
doins *.py || die "doins failed"