aboutsummaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
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