summaryrefslogtreecommitdiff
path: root/rebuildpkgs.in
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@parabola.nu>2017-05-05 18:41:07 -0400
committerErich Eckner <git@eckner.net>2017-07-14 06:54:28 +0200
commit18e2fc20d4eeaa17d4aa1b9b5e323598d68e5227 (patch)
tree15929511cfea529fe343d18bcbd7e49b9bab5eed /rebuildpkgs.in
parentbc06145c261145de6a82e9b4ad70de84bf961c0b (diff)
downloaddevtools32-18e2fc20d4eeaa17d4aa1b9b5e323598d68e5227.tar.xz
Make purely stylistic changes to make shellcheck happier.
These are purely stylistic changes that make shellcheck complain less. This does NOT include things like quoting currently unquoted variables.
Diffstat (limited to 'rebuildpkgs.in')
-rw-r--r--rebuildpkgs.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/rebuildpkgs.in b/rebuildpkgs.in
index 9197231..be3fd33 100644
--- a/rebuildpkgs.in
+++ b/rebuildpkgs.in
@@ -42,7 +42,7 @@ bump_pkgrel() {
#remove decimals
rel=$(echo $oldrel | cut -d. -f1)
- newrel=$(($rel + 1))
+ newrel=$((rel + 1))
sed -i "s/pkgrel=$oldrel/pkgrel=$newrel/" PKGBUILD
}