summaryrefslogtreecommitdiff
path: root/libre/linux-libre-grsec/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-08-31 11:50:03 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-08-31 11:50:03 -0300
commitc4deaefe6b777ce047642d04c17bac30fb8bc0e8 (patch)
tree6d45fa7bbbcde5d75dda84d63e959cff1bebb5f8 /libre/linux-libre-grsec/PKGBUILD
parentf057ed68ac949a1aaf7412c30d59dc324a3cf012 (diff)
linux-libre-grsec: fix $_basekernel for extramodules folder because we've gnu on extraversion
Diffstat (limited to 'libre/linux-libre-grsec/PKGBUILD')
-rw-r--r--libre/linux-libre-grsec/PKGBUILD2
1 files changed, 1 insertions, 1 deletions
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