From: Joel Stanley Date: Wed, 9 Dec 2015 01:17:52 +0000 (+1030) Subject: Makefile-web: Quote the names in the error message X-Git-Url: http://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=207e7b79640ddb2d1fce479135a3475a03a64bf2 Makefile-web: Quote the names in the error message progress found but fubar in MOD is now: 'progress' found but 'fubar' in MOD Signed-off-by: Joel Stanley Signed-off-by: Rusty Russell --- diff --git a/Makefile-web b/Makefile-web index 3b9f1112..a7f92970 100644 --- a/Makefile-web +++ b/Makefile-web @@ -15,7 +15,7 @@ upload: fastcheck modcheck # Check MODS list in Makefile-ccan matches modules we find. modcheck: - @FOUND=$$(echo $$(find ccan -name _info | sed 's,ccan/\(.*\)/_info,\1,' | sort) ); LISTED=$$(echo $$(echo $(MODS) | tr ' ' '\012' | sort) ); if [ "$$FOUND" = "$$LISTED" ]; then exit 0; fi; while true; do a="$${FOUND%% *}"; b="$${LISTED%% *}"; if [ "$$a" != "$$b" ]; then echo "$$a found but $$b in MOD" >&2; exit 1; fi; FOUND="$${FOUND#* }"; LISTED="$${LISTED#* }"; done + @FOUND=$$(echo $$(find ccan -name _info | sed 's,ccan/\(.*\)/_info,\1,' | sort) ); LISTED=$$(echo $$(echo $(MODS) | tr ' ' '\012' | sort) ); if [ "$$FOUND" = "$$LISTED" ]; then exit 0; fi; while true; do a="$${FOUND%% *}"; b="$${LISTED%% *}"; if [ "$$a" != "$$b" ]; then echo "'$$a' found but '$$b' in MOD" >&2; exit 1; fi; FOUND="$${FOUND#* }"; LISTED="$${LISTED#* }"; done clean-tree: [ "$(WEBDEV)" ] || ! git status --porcelain | grep .