From 148d6bbbdee8316cf1ea642ce8615e7c534f6019 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 5 Mar 2018 11:49:50 +0100 Subject: lib/common-functions: PKGBUILD is r/o, so pkgver() won't change the version :-/ --- lib/common-functions | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/common-functions') 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 -- cgit v1.2.3-70-g09d2