Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/common-functions
diff options
context:
space:
mode:
Diffstat (limited to 'lib/common-functions')
-rwxr-xr-xlib/common-functions4
1 files changed, 4 insertions, 0 deletions
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