chore(doc): fix spelling typo in pkgrel detection

Signed-off-by: Christian Heusel <christian@heusel.eu>
Signed-off-by: Levente Polyak <anthraxx@archlinux.org>
This commit is contained in:
Christian Heusel 2023-06-12 19:14:24 +02:00 committed by Levente Polyak
parent be5f54c95c
commit 0ea7e9e0e5
No known key found for this signature in database
GPG Key ID: FC1B547C8D8172C8
1 changed files with 1 additions and 1 deletions

View File

@ -329,7 +329,7 @@ pkgctl_build() {
# increment pkgrel on rebuild
if (( REBUILD )); then
# try to figure out of pkgrel has been changed
# try to figure out if pkgrel has been changed
if ! old_pkgrel=$(git_diff_tree HEAD PKGBUILD | grep --perl-regexp --only-matching --max-count=1 '^-pkgrel=\K\w+'); then
old_pkgrel=${pkgrel}
fi