From 2dc6d4d78145ed3bb0f470c09a0e832f93419aff Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 30 Aug 2006 10:30:14 +0000 Subject: [PATCH] use an if block on the whole configure command SVN-Revision: 4717 --- openwrt/include/package.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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