Remove unsed check_KV() function. Thanks to Brian Harring.
authorZac Medico <zmedico@gentoo.org>
Thu, 25 Mar 2010 11:02:11 +0000 (04:02 -0700)
committerZac Medico <zmedico@gentoo.org>
Thu, 25 Mar 2010 11:02:11 +0000 (04:02 -0700)
bin/ebuild.sh
bin/isolated-functions.sh

index 86d97e7b457221618c200abb08dc1eab61942c3c..57ceb28486bb87e0ae3066d8bbc1f691b1cfac3d 100755 (executable)
@@ -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 "$@"
index 5613e6f4681ddab7a318a8d0185cdd67fd49aff0..e7d0d4ee997109c6cb7be70cd4aedc2b28f325ee 100644 (file)
@@ -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 \