From: Mike Frysinger Date: Sat, 7 Jun 2008 17:18:35 +0000 (-0000) Subject: remove old/unused gen_wrapper function X-Git-Tag: v2.2_pre8~18 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=dda5e533953a0460bd929a1ccb4695953d392299;p=portage.git remove old/unused gen_wrapper function svn path=/main/trunk/; revision=10591 --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 9045a50e1..2bb6e60ee 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -614,15 +614,6 @@ src_test() { fi } -# Used to generate the /lib/cpp and /usr/bin/cc wrappers -gen_wrapper() { - cat > "$1" <<-EOF - #!/bin/sh - exec $2 "\$@" - EOF - chmod 0755 "$1" -} - ebuild_phase() { [ "$(type -t ${1})" == "function" ] && qa_call ${1} } diff --git a/bin/isolated-functions.sh b/bin/isolated-functions.sh index edeb93a10..42f3d5ac7 100755 --- a/bin/isolated-functions.sh +++ b/bin/isolated-functions.sh @@ -452,7 +452,7 @@ save_ebuild_env() { hasv hasq qa_source qa_call addread addwrite adddeny addpredict \ lchown lchgrp esyslog use usev useq has_version portageq \ best_version use_with use_enable register_die_hook check_KV \ - keepdir unpack strip_duplicate_slashes econf einstall gen_wrapper \ + keepdir unpack strip_duplicate_slashes econf einstall \ dyn_setup dyn_unpack dyn_clean into insinto exeinto docinto \ insopts diropts exeopts libopts abort_handler abort_compile \ abort_test abort_install dyn_compile dyn_test dyn_install \