소스 검색

Fix versioning faux pas

Donald Carr 5 년 전
부모
커밋
c3b551f09a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      PKGBUILD

+ 1 - 1
PKGBUILD

@@ -25,7 +25,7 @@ _make_cmd="make ${_xcompile_args}"
 
 pkgver() {
   cd $_kernel_src_dir
-  git describe --tags | cut -c2- | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+  git describe --tags | sed -e "s/^v//"
 }
 
 build() {