From: Felix Fietkau Date: Wed, 30 Aug 2006 10:30:14 +0000 (+0000) Subject: use an if block on the whole configure command X-Git-Tag: reboot~30718^2~209 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2dc6d4d78145ed3bb0f470c09a0e832f93419aff;p=oweals%2Fopenwrt.git use an if block on the whole configure command SVN-Revision: 4717 --- diff --git a/openwrt/include/package.mk b/openwrt/include/package.mk index 8d90509305..9a947f3582 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 ] || \ + if [ -x configure ]; then \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \ @@ -287,6 +287,7 @@ define Build/Configure/Default --infodir=/usr/info \ $(DISABLE_NLS) \ $(1); \ + fi; \ ) endef