summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2019-05-19 03:50:56 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2019-05-20 01:22:10 -0400
commitcc8af9ce76e493e4cecbaaf712aca2dffc91f7a3 (patch)
tree655719efa8889a4fad4ba5e96302581792accc28
parent88180ed1f97d2ae554cb0abb43d74892351a9292 (diff)
downloadabslibre-cc8af9ce76e493e4cecbaaf712aca2dffc91f7a3.tar.gz
abslibre-cc8af9ce76e493e4cecbaaf712aca2dffc91f7a3.tar.bz2
abslibre-cc8af9ce76e493e4cecbaaf712aca2dffc91f7a3.zip
[calamares][puzzlemoppet-git]: housekeeping
-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}"
}