From dda5e533953a0460bd929a1ccb4695953d392299 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 7 Jun 2008 17:18:35 +0000 Subject: remove old/unused gen_wrapper function svn path=/main/trunk/; revision=10591 --- bin/ebuild.sh | 9 --------- bin/isolated-functions.sh | 2 +- 2 files changed, 1 insertion(+), 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 \ -- cgit v1.2.3-1-g7c22