From: Felix Fietkau Date: Tue, 6 Jan 2009 15:08:27 +0000 (+0000) Subject: make config.{guess,sub} writable before attempting to overwrite them (many packages... X-Git-Tag: reboot~24852 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=238304231daffbd4cc03f448b994b729b8a97950;p=openwrt%2Fstaging%2Fchunkeey.git make config.{guess,sub} writable before attempting to overwrite them (many packages have broken permissions in the tarball) SVN-Revision: 13887 --- diff --git a/include/package-defaults.mk b/include/package-defaults.mk index c086cc21cc..99371a2241 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)); \