From c4deaefe6b777ce047642d04c17bac30fb8bc0e8 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Sun, 31 Aug 2014 11:50:03 -0300 Subject: linux-libre-grsec: fix $_basekernel for extramodules folder because we've gnu on extraversion --- libre/linux-libre-grsec/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libre/linux-libre-grsec/PKGBUILD b/libre/linux-libre-grsec/PKGBUILD index 4b399ae80..d26fd89a8 100644 --- a/libre/linux-libre-grsec/PKGBUILD +++ b/libre/linux-libre-grsec/PKGBUILD @@ -141,7 +141,7 @@ _package() { # get kernel version _kernver="$(make LOCALVERSION= kernelrelease)" _basekernel=${_kernver%%-*} - _basekernel=${_basekernel%.*.*} + _basekernel=${_basekernel%.*} mkdir -p "${pkgdir}"/{lib/modules,lib/firmware,boot} make LOCALVERSION= INSTALL_MOD_PATH="${pkgdir}" modules_install -- cgit v1.2.3-54-g00ecf