summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authortecladin2024-01-11 20:28:25 -0300
committertecladin2024-01-11 20:28:25 -0300
commit2ccb0e1c11175c1a32981421dd2894a2a0755959 (patch)
tree752f0c2684a344828786f08c3e9a0990da5c9028
parentfc5e17f5f394f4c761fe75b7cc4a9b21441c96a7 (diff)
downloadaur-2ccb0e1c11175c1a32981421dd2894a2a0755959.tar.gz
please work
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ca5ed24dcbd6..7ed00669d853 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,7 +14,7 @@ source=(${pkgname%-git}::git+$url.git)
md5sums=('SKIP')
pkgver() {
- cd ${pkgname%-git}
+ cd "$srcdir/${pkgname%-git}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}