diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-01-06 15:08:27 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-01-06 15:08:27 +0000 |
commit | 8a46637dfd3a9c4bf7b0a99012c873ae21206eb4 (patch) | |
tree | b933b42a3d26814432ff140fe34507af3a2f7265 /include | |
parent | ebf032ad8fce8fdb2b5cc10f797ca1f425c1b538 (diff) | |
download | upstream-8a46637dfd3a9c4bf7b0a99012c873ae21206eb4.tar.gz upstream-8a46637dfd3a9c4bf7b0a99012c873ae21206eb4.tar.bz2 upstream-8a46637dfd3a9c4bf7b0a99012c873ae21206eb4.zip |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/package-defaults.mk | 2 |
1 files changed, 1 insertions, 1 deletions
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)); \ |