Lines 18-23
DEPEND="virtual/editor
Link Here
|
18 |
pam? ( >=sys-libs/pam-0.77 )" |
18 |
pam? ( >=sys-libs/pam-0.77 )" |
19 |
|
19 |
|
20 |
pkg_setup() { |
20 |
pkg_setup() { |
|
|
21 |
# sudo unsets EDITOR |
22 |
if [[ -z "${EDITOR}" ]] ; then |
23 |
eerror "EDITOR seems to be unset. If you use sudo, it may be the cause." |
24 |
eerror "Try using" |
25 |
eerror ' sudo env EDITOR=${EDITOR} emerge' |
26 |
eerror "instead of just 'sudo emerge'" |
27 |
|
28 |
die "Please set the EDITOR env variable to the path of a valid executable." |
29 |
fi |
30 |
|
21 |
# bug #65263 |
31 |
# bug #65263 |
22 |
# fcron's ./configure complains if EDITOR is not set to an absolute path, |
32 |
# fcron's ./configure complains if EDITOR is not set to an absolute path, |
23 |
# so try to set it to the abs path if it isn't |
33 |
# so try to set it to the abs path if it isn't |