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
commiteac54af974cc7683207b5a2ec3a60bf1384319cd (patch)
treec8cf48b7ed0f7917e3e054715c693d79dfc74467 /eclass
parentFix segfault on configuration checking, bug #297310 (diff)
downloadgentoo-2-eac54af974cc7683207b5a2ec3a60bf1384319cd.tar.gz
gentoo-2-eac54af974cc7683207b5a2ec3a60bf1384319cd.tar.bz2
gentoo-2-eac54af974cc7683207b5a2ec3a60bf1384319cd.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}