[arch-commits] Commit in linux/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Wed Aug 1 11:36:48 UTC 2018


    Date: Wednesday, August 1, 2018 @ 11:36:47
  Author: heftig
Revision: 330198

Rename $basekernel to $basever

Modified:
  linux/trunk/PKGBUILD

----------+
 PKGBUILD |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-01 11:20:59 UTC (rev 330197)
+++ PKGBUILD	2018-08-01 11:36:47 UTC (rev 330198)
@@ -71,7 +71,7 @@
   install=linux.install
 
   local kernver="$(<version)"
-  local basekernel="$(<version cut -d. -f1-2)"
+  local basever="$(<version cut -d. -f1-2)"
 
   cd $_srcname
 
@@ -85,7 +85,7 @@
 
   # a place for external modules,
   # with version file for building modules and running depmod from hook
-  local extradir="$pkgdir/usr/lib/modules/extramodules-${basekernel}${pkgbase#linux}"
+  local extradir="$pkgdir/usr/lib/modules/extramodules-${basever}${pkgbase#linux}"
   install -Dt "$extradir" -m644 ../version
   ln -sr "$extradir" "$modulesdir/extramodules"
 



More information about the arch-commits mailing list