summaryrefslogtreecommitdiff
path: root/lib/common-functions
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-04-20 12:18:37 +0000
committerAndreas Baumann <mail@andreasbaumann.cc>2018-04-20 12:18:37 +0000
commit942531d3630ba90125b38142bdf2ae8d708e5017 (patch)
tree958304642a02c18b8a73e8125e1e13e80cb516ab /lib/common-functions
parentdb8dc9d02ba26353cb74fb771fd2e3ed210f51aa (diff)
downloadbuilder-942531d3630ba90125b38142bdf2ae8d708e5017.tar.xz
extract_source_directory: remove write right for all and groups too on PKGBUILD
Diffstat (limited to 'lib/common-functions')
-rwxr-xr-xlib/common-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common-functions b/lib/common-functions
index 59af46f..a4d51b0 100755
--- a/lib/common-functions
+++ b/lib/common-functions
@@ -713,7 +713,7 @@ extract_source_directory() {
# we don't want write permissions on the PKGBUILD - otherwise pkgver()
# will change the version! (**HACK**)
- chmod -w "${output}/PKGBUILD"
+ chmod oga-w "${output}/PKGBUILD"
}