Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src/lib/build
diff options
context:
space:
mode:
authorChristian Heusel <christian@heusel.eu>2023-06-12 19:14:24 +0200
committerLevente Polyak <anthraxx@archlinux.org>2023-06-18 01:01:11 +0200
commit0ea7e9e0e586d092bcc991789dbf23b5981204a3 (patch)
tree5f351fe0a44edd86c50ebac7807e00d7c7f03212 /src/lib/build
parentbe5f54c95cbbcf46598e23aa456075cbb26806c0 (diff)
chore(doc): fix spelling typo in pkgrel detection
Signed-off-by: Christian Heusel <christian@heusel.eu> Signed-off-by: Levente Polyak <anthraxx@archlinux.org>
Diffstat (limited to 'src/lib/build')
-rw-r--r--src/lib/build/build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/build/build.sh b/src/lib/build/build.sh
index 3394395..aa2293c 100644
--- a/src/lib/build/build.sh
+++ b/src/lib/build/build.sh
@@ -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