summaryrefslogtreecommitdiff
path: root/include/package-defaults.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-01-06 15:08:27 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-01-06 15:08:27 +0000
commit238304231daffbd4cc03f448b994b729b8a97950 (patch)
tree04cf88a494b12e4c7c155f75ffd56f84487e911f /include/package-defaults.mk
parent4c7d2cf90e48bb8d6a9b4b0dfc94dff703c9c209 (diff)
downloadmtk-20170518-238304231daffbd4cc03f448b994b729b8a97950.zip
mtk-20170518-238304231daffbd4cc03f448b994b729b8a97950.tar.gz
mtk-20170518-238304231daffbd4cc03f448b994b729b8a97950.tar.bz2
make config.{guess,sub} writable before attempting to overwrite them (many packages have broken permissions in the tarball)
SVN-Revision: 13887
Diffstat (limited to 'include/package-defaults.mk')
-rw-r--r--include/package-defaults.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/package-defaults.mk b/include/package-defaults.mk
index c086cc2..99371a2 100644
--- a/include/package-defaults.mk
+++ b/include/package-defaults.mk
@@ -76,7 +76,7 @@ CONFIGURE_VARS = \
CONFIGURE_PATH = .
CONFIGURE_CMD = ./configure
-replace_script=$(FIND) $(1) -name $(2) | $(XARGS) -n1 cp $(SCRIPT_DIR)/$(2);
+replace_script=$(FIND) $(1) -name $(2) | $(XARGS) chmod u+w; $(FIND) $(1) -name $(2) | $(XARGS) -n1 cp $(SCRIPT_DIR)/$(2);
define Build/Configure/Default
(cd $(PKG_BUILD_DIR)/$(CONFIGURE_PATH)/$(strip $(3)); \