summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-12-19 00:01:04 +0000
committerZac Medico <zmedico@gentoo.org>2009-12-19 00:01:04 +0000
commitafeb2d7ee8fa0bb20fdd43b8562bbb981e3d8148 (patch)
tree88db0c339ca5d52222ff097c6a292b67e58b0620 /eclass
parentFix segfault on configuration checking, bug #297310 (diff)
downloadhistorical-afeb2d7ee8fa0bb20fdd43b8562bbb981e3d8148.tar.gz
historical-afeb2d7ee8fa0bb20fdd43b8562bbb981e3d8148.tar.bz2
historical-afeb2d7ee8fa0bb20fdd43b8562bbb981e3d8148.zip
Bug #297392 - Remove extra leading slash in epatch_user() output.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/eutils.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass
index 2e5d4c73b211..0df4c171e030 100644
--- a/eclass/eutils.eclass
+++ b/eclass/eutils.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.322 2009/12/11 20:31:34 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.323 2009/12/19 00:01:04 zmedico Exp $
# @ECLASS: eutils.eclass
# @MAINTAINER:
@@ -397,7 +397,7 @@ epatch_user() {
[[ $# -ne 0 ]] && die "epatch_user takes no options"
# don't clobber any EPATCH vars that the parent might want
- local EPATCH_SOURCE check base=${PORTAGE_CONFIGROOT}/etc/portage/patches
+ local EPATCH_SOURCE check base=${PORTAGE_CONFIGROOT%/}/etc/portage/patches
for check in {${CATEGORY}/${PF},${CATEGORY}/${P},${CATEGORY}/${PN}}; do
EPATCH_SOURCE=${base}/${CTARGET}/${check}
[[ -r ${EPATCH_SOURCE} ]] || EPATCH_SOURCE=${base}/${CHOST}/${check}