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 /bin/ebuild.sh | |
parent | 800cf2515a359a1225ff0652174af64997bab566 (diff) | |
download | portage-a95ac9ff269980f78153f4fa6a12b05d0a4c9ac4.tar.gz portage-a95ac9ff269980f78153f4fa6a12b05d0a4c9ac4.tar.bz2 portage-a95ac9ff269980f78153f4fa6a12b05d0a4c9ac4.zip |
Remove unsed check_KV() function. Thanks to Brian Harring.
Diffstat (limited to 'bin/ebuild.sh')
-rwxr-xr-x | bin/ebuild.sh | 14 |
1 files changed, 0 insertions, 14 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 "$@" |