Parcourir la source

Fix versioning faux pas

Donald Carr il y a 5 ans
Parent
commit
c3b551f09a
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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() {