aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2012-09-13 18:15:47 +0200
committerUlrich Müller <ulm@gentoo.org>2012-09-13 18:15:47 +0200
commit45646c76e2cad5543370c5fe3bbfff78f2dac953 (patch)
tree77e8b27d0f4efa0f124246de79a333efee4c798c /bin
parentFix warning message in profile module. (diff)
downloadeselect-45646c76e2cad5543370c5fe3bbfff78f2dac953.tar.gz
eselect-45646c76e2cad5543370c5fe3bbfff78f2dac953.tar.bz2
eselect-45646c76e2cad5543370c5fe3bbfff78f2dac953.zip
Remove any trailing backslash from ROOT before appending EPREFIX.
* bin/eselect.in (EROOT): Remove any trailing backslash from ROOT before appending EPREFIX.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/eselect.in2
1 files changed, 1 insertions, 1 deletions
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.