diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rwxr-xr-x | bin/eselect.in | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -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. |