make config.{guess,sub} writable before attempting to overwrite them (many packages have broken permissions in the tarball)

SVN-Revision: 13887
This commit is contained in:
Felix Fietkau 2009-01-06 15:08:27 +00:00
parent 4c7d2cf90e
commit 238304231d

View file

@ -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)); \