diff options
author | Ulrich Müller <ulm@gentoo.org> | 2009-11-15 21:58:57 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2009-11-15 21:58:57 +0000 |
commit | f17d1fe83e89148a7ea1b98b76d7fc0ae1eefc41 (patch) | |
tree | f89add1e7749ee8c44edaf66c7a8158f5dad4242 /libs/skel.bash.in | |
parent | Rename local variable PREFIX to prefix. (diff) | |
download | eselect-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/skel.bash.in')
-rw-r--r-- | libs/skel.bash.in | 2 |
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 |