You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
--- a/bin/eselect.in
|
|
+++ b/bin/eselect.in
|
|
@@ -43,7 +43,7 @@
|
|
|
|
# Support variables for Gentoo Prefix
|
|
EPREFIX="@EPREFIX@"
|
|
-EROOT="${ROOT%/}${EPREFIX}"
|
|
+EROOT="${ROOT%${EPREFIX:+/}}${EPREFIX}"
|
|
|
|
# Remove all alias definitions. Unset functions and variables that are
|
|
# known to cause trouble.
|