Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/build-packages4
-rwxr-xr-xlib/common-functions4
2 files changed, 6 insertions, 2 deletions
diff --git a/bin/build-packages b/bin/build-packages
index 24c5453..0f0c841 100755
--- a/bin/build-packages
+++ b/bin/build-packages
@@ -352,9 +352,9 @@ while [ "${count}" -ne 0 ]; do
if echo "${straw}" | \
grep -qF ':without_check:'; then
- innerParameters='--nocheck --holdver'
+ innerParameters='--nocheck'
else
- innerParameters='--holdver'
+ innerParameters=''
fi
if echo "${straw}" | \
diff --git a/lib/common-functions b/lib/common-functions
index ba434ad..0779203 100755
--- a/lib/common-functions
+++ b/lib/common-functions
@@ -934,6 +934,10 @@ extract_source_directory() {
# shellcheck disable=SC2016
sed -i '/^\$Id\$$/d' "${output}/PKGBUILD"
+ # we don't want write permissions on the PKGBUILD - otherwise pkgver()
+ # will change the version! (**HACK**)
+ chmod -w "${output}/PKGBUILD"
+
}
# find_dependencies_on_build_list $package $git_revision $mod_git_revision $repository