summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-06-07 17:18:35 +0000
committerMike Frysinger <vapier@gentoo.org>2008-06-07 17:18:35 +0000
commitdda5e533953a0460bd929a1ccb4695953d392299 (patch)
tree36b0049a88cb6c0cae17c8966d59b827688c3ee3
parenta919fb03d4cbdf5e3b77b269459e762d536a7b38 (diff)
downloadportage-dda5e533953a0460bd929a1ccb4695953d392299.tar.gz
portage-dda5e533953a0460bd929a1ccb4695953d392299.tar.bz2
portage-dda5e533953a0460bd929a1ccb4695953d392299.zip
remove old/unused gen_wrapper function
svn path=/main/trunk/; revision=10591
-rwxr-xr-xbin/ebuild.sh9
-rwxr-xr-xbin/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 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 \