Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src/lib/build/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/build/build.sh')
-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