From a95ac9ff269980f78153f4fa6a12b05d0a4c9ac4 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 25 Mar 2010 04:02:11 -0700 Subject: Remove unsed check_KV() function. Thanks to Brian Harring. --- bin/ebuild.sh | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'bin/ebuild.sh') 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 "$@" -- cgit v1.2.3-1-g7c22