Fixed the error check in autobuid
authorRod Whitby <rod@whitby.id.au>
Mon, 1 Aug 2005 17:15:34 +0000 (17:15 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Mon, 1 Aug 2005 17:15:34 +0000 (17:15 +0000)
Makefile

index 23acb08..34fd950 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -331,7 +331,7 @@ autobuild:
        ${MAKE} build-optware-nslu2  upload-optware-nslu2-cross  || $$errors++; \
        ${MAKE} build-optware-wl500g upload-optware-wl500g-cross || $$errors++; \
        ${MAKE}                      upload-sources              || $$errors++ ; \
-       if [ "$$errors" != "0" ] ; then \
+       if [ $$errors ne 0 ] ; then \
                echo "*** Errors during autobuild: $$errors ***" ; \
        fi \
        )