浏览代码

Fix branch name determination

Donald Carr 4 年之前
父节点
当前提交
07ca9b4f29
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      PKGBUILD

+ 2 - 2
PKGBUILD

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