From b7531a06490053d2838513c746b04b8503cad18f Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 9 Jun 2008 14:26:47 +0000 Subject: remove old/unused gen_wrapper function (trunk r10591) svn path=/main/branches/2.1.2/; revision=10613 --- 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 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 \ -- cgit v1.2.3-1-g7c22