aboutsummaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2009-11-15 21:58:57 +0000
committerUlrich Müller <ulm@gentoo.org>2009-11-15 21:58:57 +0000
commitf17d1fe83e89148a7ea1b98b76d7fc0ae1eefc41 (patch)
treef89add1e7749ee8c44edaf66c7a8158f5dad4242 /libs
parentRename local variable PREFIX to prefix. (diff)
downloadeselect-f17d1fe83e89148a7ea1b98b76d7fc0ae1eefc41.tar.gz
eselect-f17d1fe83e89148a7ea1b98b76d7fc0ae1eefc41.tar.bz2
eselect-f17d1fe83e89148a7ea1b98b76d7fc0ae1eefc41.zip
Use EPREFIX in skel library when called from ebuild, bug 293317.
svn path=/trunk/; revision=732
Diffstat (limited to 'libs')
-rw-r--r--libs/skel.bash.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/skel.bash.in b/libs/skel.bash.in
index 9db20af..ba8bcf3 100644
--- a/libs/skel.bash.in
+++ b/libs/skel.bash.in
@@ -293,7 +293,7 @@ do_add() {
# If $D is set, we're adding from portage so we want to respect sandbox.
# Otherwise, respect the ROOT variable.
- local prefix=${D:-${EROOT}}
+ local prefix=${D:-${ROOT}}${EPREFIX}
# Create directory if necessary
if [[ ! -e ${prefix}/etc/env.d/${IFACE}/${1} ]]; then