diff options
author | Brian Harring <ferringb@gmail.com> | 2012-09-13 21:40:41 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2012-09-13 23:55:44 -0700 |
commit | 25a5296f29bc7153fa29e2dfe8de9d08d40d9944 (patch) | |
tree | 82588b99b93ed490d9fa5146afad4d04790a25b3 /bin/ebuild.sh | |
parent | 2bafee5c926a644e58099bb5dbb3eec7cd80518c (diff) | |
download | portage-25a5296f29bc7153fa29e2dfe8de9d08d40d9944.tar.gz portage-25a5296f29bc7153fa29e2dfe8de9d08d40d9944.tar.bz2 portage-25a5296f29bc7153fa29e2dfe8de9d08d40d9944.zip |
drop dead functions
Specifically, esyslog, {un,}set_unless_changed, and remove_path_entry.
Diffstat (limited to 'bin/ebuild.sh')
-rwxr-xr-x | bin/ebuild.sh | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 51e90d7cc..5178a3753 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -23,8 +23,8 @@ else for x in diropts docompress exeopts get_KV insopts \ keepdir KV_major KV_micro KV_minor KV_to_int \ libopts register_die_hook register_success_hook \ - remove_path_entry set_unless_changed strip_duplicate_slashes \ - unset_unless_changed use_with use_enable ; do + strip_duplicate_slashes \ + use_with use_enable ; do eval "${x}() { if has \"\${EAPI:-0}\" 4-python; then die \"\${FUNCNAME}() calls are not allowed in global scope\" @@ -136,12 +136,6 @@ fi # the sandbox is disabled by default except when overridden in the relevant stages export SANDBOX_ON=0 -esyslog() { - # Custom version of esyslog() to take care of the "Red Star" bug. - # MUST follow functions.sh to override the "" parameter problem. - return 0 -} - # Ensure that $PWD is sane whenever possible, to protect against # exploitation of insecure search path for python -c in ebuilds. # See bug #239560. |