From 207e7b79640ddb2d1fce479135a3475a03a64bf2 Mon Sep 17 00:00:00 2001 From: Joel Stanley Date: Wed, 9 Dec 2015 11:47:52 +1030 Subject: [PATCH 1/1] 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 --- Makefile-web | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 . -- 2.39.2