aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rwxr-xr-xbin/eselect.in2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d031f48..67b68ee 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-09-13 Ulrich Müller <ulm@gentoo.org>
+
+ * bin/eselect.in (EROOT): Remove any trailing backslash from ROOT
+ before appending EPREFIX.
+
2012-09-12 Ulrich Müller <ulm@gentoo.org>
* modules/profile.eselect (get_symlink_location): When both
diff --git a/bin/eselect.in b/bin/eselect.in
index 95d58ac..fb1260f 100755
--- a/bin/eselect.in
+++ b/bin/eselect.in
@@ -43,7 +43,7 @@ ESELECT_KILL_TARGET="$$"
# Support variables for Gentoo Prefix
EPREFIX="@EPREFIX@"
-EROOT="${ROOT}${EPREFIX}"
+EROOT="${ROOT%/}${EPREFIX}"
# Remove all alias definitions. Unset functions and variables that are
# known to cause trouble.