]> git.ozlabs.org Git - ccan/commitdiff
Makefile-web: Quote the names in the error message
authorJoel Stanley <joel@jms.id.au>
Wed, 9 Dec 2015 01:17:52 +0000 (11:47 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 9 Dec 2015 03:02:55 +0000 (13:32 +1030)
 progress found but fubar in MOD

is now:

 'progress' found but 'fubar' in MOD

Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Makefile-web

index 3b9f11124824450b19077d2cf616889c8d376460..a7f92970de19664f59578a4fb6257c5eab3cb070 100644 (file)
@@ -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 .