Fix pkgver function to correctly change directory using parameter expansion
All checks were successful
Build and push Archlinux package / build (push) Successful in 12s
All checks were successful
Build and push Archlinux package / build (push) Successful in 12s
This commit is contained in:
parent
ce24875b2c
commit
4fcef81d8d
1 changed files with 1 additions and 1 deletions
2
PKGBUILD
2
PKGBUILD
|
@ -14,7 +14,7 @@ sha256sums=('SKIP')
|
||||||
source=("git+https://code.edgarpierre.fr/edpibu/desktop.git")
|
source=("git+https://code.edgarpierre.fr/edpibu/desktop.git")
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
cd "$pkgname%-git"
|
cd "${pkgname%-git}"
|
||||||
git describe --tags | sed -e"s/^v//"
|
git describe --tags | sed -e"s/^v//"
|
||||||
}
|
}
|
||||||
package() {
|
package() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue