Line
Link Here
|
0 |
-- eselect-1.2.7/bin/eselect.in |
0 |
++ eselect-1.2.7/bin/eselect.in |
Lines 44-52
Link Here
|
44 |
# Global options |
44 |
# Global options |
45 |
ESELECT_OPTIONS="" |
45 |
ESELECT_OPTIONS="" |
46 |
|
46 |
|
47 |
# Support variables for Gentoo Alt/Prefix |
47 |
# Support variables for Gentoo Prefix |
48 |
EPREFIX="@EPREFIX@" |
48 |
EPREFIX="@EPREFIX@" |
49 |
EROOT="${ROOT}${EPREFIX}" |
49 |
EROOT="${ROOT}${EPREFIX}" |
50 |
|
50 |
|
51 |
# Remove all alias definitions. Unset functions and variables that are |
51 |
# Remove all alias definitions. Unset functions and variables that are |
52 |
# known to cause trouble. |
52 |
# known to cause trouble. |
53 |
-- eselect-1.2.7/libs/skel.bash.in |
53 |
++ eselect-1.2.7/libs/skel.bash.in |
Lines 293-299
Link Here
|
293 |
|
293 |
|
294 |
# If $D is set, we're adding from portage so we want to respect sandbox. |
294 |
# If $D is set, we're adding from portage so we want to respect sandbox. |
295 |
# Otherwise, respect the ROOT variable. |
295 |
# Otherwise, respect the ROOT variable. |
296 |
local PREFIX=${D:-${EROOT}} |
296 |
local PREFIX=${D:-${ROOT}}${EPREFIX} |
297 |
|
297 |
|
298 |
# Create directory if necessary |
298 |
# Create directory if necessary |
299 |
if [[ ! -e ${PREFIX}/etc/env.d/${IFACE}/${1} ]]; then |
299 |
if [[ ! -e ${PREFIX}/etc/env.d/${IFACE}/${1} ]]; then |