summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr-testing/calamares/PKGBUILD2
-rw-r--r--pcr/puzzlemoppet-git/PKGBUILD2
2 files changed, 2 insertions, 2 deletions
diff --git a/pcr-testing/calamares/PKGBUILD b/pcr-testing/calamares/PKGBUILD
index cfe257c98..87a51dc18 100644
--- a/pcr-testing/calamares/PKGBUILD
+++ b/pcr-testing/calamares/PKGBUILD
@@ -26,7 +26,7 @@ _version_constraint() # (dep_pkgname)
local dep_pkgname=$1
local version=$(pacman -S --print-format='%v' ${dep_pkgname} | tail -n 1)
version=${version%-*}
- version_inc=${version%.*}.$(( ${version##*.} + 1 ))
+ local version_inc=${version%.*}.$(( ${version##*.} + 1 ))
echo -n "${dep_pkgname}>=${version}" "${dep_pkgname}<${version_inc}"
}
diff --git a/pcr/puzzlemoppet-git/PKGBUILD b/pcr/puzzlemoppet-git/PKGBUILD
index 09ce3ff1d..4ed6666c2 100644
--- a/pcr/puzzlemoppet-git/PKGBUILD
+++ b/pcr/puzzlemoppet-git/PKGBUILD
@@ -23,7 +23,7 @@ _version_constraint() # (dep_pkgname)
local dep_pkgname=$1
local version=$(pacman -S --print-format='%v' ${dep_pkgname} | tail -n 1)
version=${version%-*}
- version_inc=${version%.*}.$(( ${version##*.} + 1 ))
+ local version_inc=${version%.*}.$(( ${version##*.} + 1 ))
echo -n "${dep_pkgname}>=${version}" "${dep_pkgname}<${version_inc}"
}