Fixed the autobuild error reporting.
authorRod Whitby <rod@whitby.id.au>
Wed, 3 Aug 2005 03:22:17 +0000 (03:22 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Wed, 3 Aug 2005 03:22:17 +0000 (03:22 +0000)
Makefile

index ad3aac4..9121220 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -332,8 +332,8 @@ 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 \
-               echo "*** Errors during autobuild: $errors ***" ; \
+       if [ "$$errors" != "0" ] ; then \
+               echo "*** Errors during autobuild: $$errors ***" ; \
        fi \
        )