[ccan] [PATCH 3/3] Makefile-web: Quote the names in the error message

Joel Stanley joel at jms.id.au
Wed Dec 9 12:17:52 AEDT 2015


 progress found but fubar in MOD

is now:

 'progress' found but 'fubar' in MOD

Signed-off-by: Joel Stanley <joel at jms.id.au>
---
 Makefile-web | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile-web b/Makefile-web
index 3b9f11124824..a7f92970de19 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.6.2



More information about the ccan mailing list