summaryrefslogtreecommitdiffstats
path: root/package/Makefile.package.in
diff options
context:
space:
mode:
authorPeter Korsgaard2011-07-07 10:53:18 +0200
committerPeter Korsgaard2011-07-07 10:53:18 +0200
commit2f2542595f69734d61d208bfbf1094901be5432f (patch)
tree2312d1d797df0fca5a999182a6c9cc1ca804ec48 /package/Makefile.package.in
parentruby: fix build with openssl 1.0 (diff)
downloadbuildroot-2f2542595f69734d61d208bfbf1094901be5432f.tar.gz
buildroot-2f2542595f69734d61d208bfbf1094901be5432f.tar.xz
buildroot-2f2542595f69734d61d208bfbf1094901be5432f.zip
Makefile.package.in: extract: only ensure r/w access for user
There's no reason to make the source files writable for everyone. Reported-by: Arnout Vandecappelle <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/Makefile.package.in')
-rw-r--r--package/Makefile.package.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/Makefile.package.in b/package/Makefile.package.in
index 4bd40ba53..6b63bae08 100644
--- a/package/Makefile.package.in
+++ b/package/Makefile.package.in
@@ -246,7 +246,7 @@ $(BUILD_DIR)/%/.stamp_extracted:
$(Q)$(if $($(PKG)_SOURCE),$(INFLATE$(suffix $($(PKG)_SOURCE))) $(DL_DIR)/$($(PKG)_SOURCE) | \
$(TAR) $(TAR_STRIP_COMPONENTS)=1 -C $(@D) $(TAR_OPTIONS) -)
# some packages have messed up permissions inside
- $(Q)chmod -R ug+rw $(@D)
+ $(Q)chmod -R +rw $(@D)
$(foreach hook,$($(PKG)_POST_EXTRACT_HOOKS),$(call $(hook))$(sep))
$(Q)touch $@