summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-06-09 14:26:47 +0000
committerZac Medico <zmedico@gentoo.org>2008-06-09 14:26:47 +0000
commitb7531a06490053d2838513c746b04b8503cad18f (patch)
tree3c82608a356efc6255d03bf48ccc6801e433684d
parentd51208855160093e33cfedbc6b8f2eafd328d942 (diff)
downloadportage-b7531a06490053d2838513c746b04b8503cad18f.tar.gz
portage-b7531a06490053d2838513c746b04b8503cad18f.tar.bz2
portage-b7531a06490053d2838513c746b04b8503cad18f.zip
remove old/unused gen_wrapper function (trunk r10591)
svn path=/main/branches/2.1.2/; revision=10613
-rwxr-xr-xbin/ebuild.sh9
-rw-r--r--bin/isolated-functions.sh2
2 files changed, 1 insertions, 10 deletions
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 100644
--- 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 \