Forráskód Böngészése

Fix branch name determination

Donald Carr 4 éve
szülő
commit
07ca9b4f29
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      PKGBUILD

+ 2 - 2
PKGBUILD

@@ -6,7 +6,7 @@ options=('!strip')
 # The firmware the kernel produces blows: don't falsify this lightly
 # "linux-firmware=20170309.695f2d6-1"
 pkgrel=1
-pkgver=5.12.rc3.75.g20439f3f292b
+pkgver=5.11.8.16.gfe6702c55721
 pkgdesc="Kernel build from head"
 arch=("x86_64" "aarch64" "armv7h")
 license=("GPL2.1")
@@ -18,7 +18,7 @@ _pi_ver="${LOCAL_PI_VER:-}"
 pkgbase() {
     oldpath=${PWD}
     cd $_kernel_src_dir
-    postfix="spudd-$(git rev-parse --abbrev-ref HEAD)"
+    postfix="spudd-$(git branch --show-current)"
     if [[ -f testing ]]; then
         postfix=${postfix}-testing
     fi