only run trap error code in the configure template, if the configure script was not...
authorFelix Fietkau <nbd@openwrt.org>
Wed, 30 Aug 2006 10:24:11 +0000 (10:24 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 30 Aug 2006 10:24:11 +0000 (10:24 +0000)
SVN-Revision: 4715

openwrt/include/package.mk

index 311ec35a9c1ebf3b36a1c6fb4c27ab5d370e2a47..ce3c4b6a1b22a27cf13d9414757b57f0bf0fc134 100644 (file)
@@ -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