summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-01-06 15:08:27 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-01-06 15:08:27 +0000
commitbdb979e909d4319623fb801037615aa0b27def3f (patch)
treeb933b42a3d26814432ff140fe34507af3a2f7265
parentfb1c13c960d4f1d11a468033ecb7ddf8969aa8b2 (diff)
make config.{guess,sub} writable before attempting to overwrite them (many packages have broken permissions in the tarball)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13887 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 c086cc21c..99371a224 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)); \