Maybe if we specify it for each run of git?

This commit is contained in:
David Thurstenson 2020-09-10 22:27:28 -05:00
parent cecc674192
commit 59a5122aa7
1 changed files with 1 additions and 2 deletions

View File

@ -12,8 +12,7 @@ source=("git+${url}")
md5sums=('SKIP')
pkgver() {
cd ${srcdir}/${pkgname}
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
printf "r%s.%s" "$(git -C ${srcdir}/${pkgname} rev-list --count HEAD)" "$(git -C ${srcdir}/${pkgname} rev-parse --short HEAD)"
}
package() {