From cb4a7566430008dbb9b67634106a2243f7bb002a Mon Sep 17 00:00:00 2001 From: nyyu Date: Wed, 19 May 2021 12:16:23 +0200 Subject: [PATCH] fix ver --- build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index f7141cc..5c88856 100755 --- a/build.sh +++ b/build.sh @@ -1,9 +1,9 @@ #!/bin/bash build() { - name=$(grep 'pkgname=' PKGBUILD | cut -d'=' -f2) - ver=$(grep 'pkgver=' PKGBUILD | cut -d'=' -f2) - rel=$(grep 'pkgrel=' PKGBUILD | cut -d'=' -f2) + name=$(grep '^pkgname=' PKGBUILD | cut -d'=' -f2) + ver=$(grep '^pkgver=' PKGBUILD | cut -d'=' -f2) + rel=$(grep '^pkgrel=' PKGBUILD | cut -d'=' -f2) if ! compgen -G "/repo/$name-$ver-$rel-*.pkg.tar.zst" ; then if makepkg -s --skippgpcheck --noconfirm || makepkg -s --skippgpcheck --nocheck --noconfirm ; then