From 238304231daffbd4cc03f448b994b729b8a97950 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 6 Jan 2009 15:08:27 +0000 Subject: [PATCH] make config.{guess,sub} writable before attempting to overwrite them (many packages have broken permissions in the tarball) SVN-Revision: 13887 --- include/package-defaults.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/package-defaults.mk b/include/package-defaults.mk index c086cc21cc4c..99371a224141 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)); \ -- 2.30.2