From: Felix Fietkau Date: Wed, 30 Aug 2006 10:24:11 +0000 (+0000) Subject: only run trap error code in the configure template, if the configure script was not... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e15c09421b0ee454ab1dc3ef8ff89c699eafb023;p=openwrt%2Fsvn-archive%2Farchive.git only run trap error code in the configure template, if the configure script was not found SVN-Revision: 4715 --- diff --git a/openwrt/include/package.mk b/openwrt/include/package.mk index 311ec35a9c..ce3c4b6a1b 100644 --- a/openwrt/include/package.mk +++ b/openwrt/include/package.mk @@ -263,7 +263,7 @@ endef define Build/Configure/Default @(cd $(PKG_BUILD_DIR)/$(3); \ - [ -x configure ] && \ + [ -x configure ] && { \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \ @@ -287,7 +287,7 @@ define Build/Configure/Default --infodir=/usr/info \ $(DISABLE_NLS) \ $(1); \ - true; \ + } || true; \ ) endef