diff options
author | Brian Harring <ferringb@gmail.com> | 2012-09-13 21:56:10 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2012-09-13 23:55:44 -0700 |
commit | 2bafee5c926a644e58099bb5dbb3eec7cd80518c (patch) | |
tree | fcb42410134ab6cf21e516d8352e7a81b94e227c | |
parent | c138e8e2654ad9350eec2a433991b882b4c6b058 (diff) | |
download | portage-2bafee5c926a644e58099bb5dbb3eec7cd80518c.tar.gz portage-2bafee5c926a644e58099bb5dbb3eec7cd80518c.tar.bz2 portage-2bafee5c926a644e58099bb5dbb3eec7cd80518c.zip |
Drop diefunc protection.
The last usage of it was added 67e88b82726a93eda^, 01/20/08; 4.5 years
later, the compatibility measure is no longer needed.
-rw-r--r-- | bin/isolated-functions.sh | 6 | ||||
-rw-r--r-- | bin/save-ebuild-env.sh | 2 |
2 files changed, 1 insertions, 7 deletions
diff --git a/bin/isolated-functions.sh b/bin/isolated-functions.sh index d33c0b61e..37e5f2de0 100644 --- a/bin/isolated-functions.sh +++ b/bin/isolated-functions.sh @@ -245,12 +245,6 @@ die() { exit 1 } -# We need to implement diefunc() since environment.bz2 files contain -# calls to it (due to alias expansion). -diefunc() { - die "${@}" -} - quiet_mode() { [[ ${PORTAGE_QUIET} -eq 1 ]] } diff --git a/bin/save-ebuild-env.sh b/bin/save-ebuild-env.sh index d8883cbdb..37438a5d9 100644 --- a/bin/save-ebuild-env.sh +++ b/bin/save-ebuild-env.sh @@ -47,7 +47,7 @@ save_ebuild_env() { unset x unset -f assert assert_sigpipe_ok \ - dump_trace die diefunc \ + dump_trace die \ quiet_mode vecho elog_base eqawarn elog \ esyslog einfo einfon ewarn eerror ebegin _eend eend KV_major \ KV_minor KV_micro KV_to_int get_KV unset_colors set_colors has \ |