diff options
author | Ulrich Müller <ulm@gentoo.org> | 2012-09-13 18:15:47 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2012-09-13 18:15:47 +0200 |
commit | 45646c76e2cad5543370c5fe3bbfff78f2dac953 (patch) | |
tree | 77e8b27d0f4efa0f124246de79a333efee4c798c /bin | |
parent | Fix warning message in profile module. (diff) | |
download | eselect-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-x | bin/eselect.in | 2 |
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. |