diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-03-25 04:02:11 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-03-25 04:02:11 -0700 |
commit | a95ac9ff269980f78153f4fa6a12b05d0a4c9ac4 (patch) | |
tree | 6480e374f36428c23b1573eab64e0b5c9736c021 | |
parent | 800cf2515a359a1225ff0652174af64997bab566 (diff) | |
download | portage-a95ac9ff269980f78153f4fa6a12b05d0a4c9ac4.tar.gz portage-a95ac9ff269980f78153f4fa6a12b05d0a4c9ac4.tar.bz2 portage-a95ac9ff269980f78153f4fa6a12b05d0a4c9ac4.zip |
Remove unsed check_KV() function. Thanks to Brian Harring.
-rwxr-xr-x | bin/ebuild.sh | 14 | ||||
-rw-r--r-- | bin/isolated-functions.sh | 2 |
2 files changed, 1 insertions, 15 deletions
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 \ |