summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ad3aac44ce..9121220e73 100644
--- 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 \
)