From: Zac Medico Date: Thu, 25 Mar 2010 11:02:11 +0000 (-0700) Subject: Remove unsed check_KV() function. Thanks to Brian Harring. X-Git-Tag: v2.2_rc68~692 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a95ac9ff269980f78153f4fa6a12b05d0a4c9ac4;p=portage.git Remove unsed check_KV() function. Thanks to Brian Harring. --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 86d97e7b4..57ceb2848 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -300,20 +300,6 @@ export LIBOPTIONS="-m0644" export DIROPTIONS="-m0755" export MOPREFIX=${PN} -check_KV() { - if [ -z "${KV}" ]; then - eerror "" - eerror "Could not determine your kernel version." - eerror "Make sure that you have a /usr/src/linux symlink," - eerror "and that the indicated kernel has been configured." - eerror "You can also simply run the following command" - eerror "in the directory referenced by /usr/src/linux:" - eerror " make include/linux/version.h" - eerror "" - die - fi -} - # adds ".keep" files so that dirs aren't auto-cleaned keepdir() { dodir "$@" diff --git a/bin/isolated-functions.sh b/bin/isolated-functions.sh index 5613e6f46..e7d0d4ee9 100644 --- a/bin/isolated-functions.sh +++ b/bin/isolated-functions.sh @@ -527,7 +527,7 @@ save_ebuild_env() { hasg hasgq hasv hasq qa_source qa_call \ addread addwrite adddeny addpredict _sb_append_var \ lchown lchgrp esyslog use usev useq has_version portageq \ - best_version use_with use_enable register_die_hook check_KV \ + best_version use_with use_enable register_die_hook \ keepdir unpack strip_duplicate_slashes econf einstall \ dyn_setup dyn_unpack dyn_clean into insinto exeinto docinto \ insopts diropts exeopts libopts \