Fix: Properly read package name
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
a5ebc70444
commit
2cf9ed29de
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
set -euxo pipefail
|
||||
|
||||
# Read pkg name
|
||||
PKG=$(awk -F '=' '/pkgname=/{ print $2 }' PKGBUILD)
|
||||
PKG=$(awk -F '=' '/^pkgname=/{ print $2 }' PKGBUILD)
|
||||
|
||||
# Get latest version
|
||||
VER=$(
|
||||
|
|
Loading…
Reference in a new issue