Do not prevent building when there are local changes to svg2-tools.
authorCameron McCormack <cam@mcc.id.au>
Fri, 18 May 2012 12:21:07 +1000
changeset 101 4a2ece3d5f00
parent 100 ef088ad0fb42
child 102 64625b1d9928
Do not prevent building when there are local changes to svg2-tools.
Makefile
--- a/Makefile	Fri May 18 11:24:37 2012 +1000
+++ b/Makefile	Fri May 18 12:21:07 2012 +1000
@@ -3,7 +3,7 @@
 all-with-tools-check : tools-check all
 
 tools-check :
-	@bash -c "REMOTE_REV=$$(hg id -i http://svgwg.org/hg/svg2-tools); [ \$$? = 0 -o \"\$$REMOTE_REV\" != \"\" ] || exit 0; LOCAL_REV=$$(hg id -i ../svg2-tools); [ \"\$$LOCAL_REV\" = \"\$$REMOTE_REV\" ] || (echo \"You must update your svg2-tools repository! (Remote repository has revision \$$REMOTE_REV, but you are at \$$LOCAL_REV.)\"; exit 1)"
+	@bash -c "REMOTE_REV=$$(hg id -i http://svgwg.org/hg/svg2-tools); [ \$$? = 0 -o \"\$$REMOTE_REV\" != \"\" ] || exit 0; LOCAL_REV=$$(hg id -i ../svg2-tools); [ \"\$$LOCAL_REV\" = \"\$$REMOTE_REV\" -o \"\$$LOCAL_REV\" = \"\$$REMOTE_REV\"+ ] || (echo \"You must update your svg2-tools repository! (Remote repository has revision \$$REMOTE_REV, but you are at \$$LOCAL_REV.)\"; exit 1)"
 
 all :
 	$(MAKE) -C master/images/implnote/arcs/