From c7ed85cd8863b0621d7f09b7d73d5ef171e4a860 Mon Sep 17 00:00:00 2001 From: Mark Kim Date: Thu, 10 Dec 2020 16:47:05 -0500 Subject: [PATCH] Change "echo -n" to "printf" in Makefile The `echo` command built into the default macOS shell doesn't understand -n. This commit changes it to use "printf" instead which should be fairly portable across other OS's. Feel free to change it back if it breaks anything. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 706f4b3c0..455080f9e 100644 --- a/Makefile +++ b/Makefile @@ -715,7 +715,7 @@ STARTER_BACK_NAME=$(or $(wildcard $(subst starters/.thumbs,starters,$(@:-t.png=- # FIXME: Need to be able to update a thumbnail if the source image is modified -bjk 2019.09.14 $(THUMB_STARTERS): - @echo -n "." + @printf "." @mkdir -p starters/.thumbs @if [ "x" != "x"$(STARTER_BACK_NAME) ] ; \ then \ @@ -776,7 +776,7 @@ TEMPLATE_NAME=$(or $(wildcard $(subst templates/.thumbs,templates,$(@:-t.png=.sv # FIXME: Need to be able to update a thumbnail if the source image is modified -bjk 2019.09.14 $(THUMB_TEMPLATES): - @echo -n "." + @printf "." @mkdir -p templates/.thumbs @convert $(CONVERT_OPTS) $(TEMPLATE_NAME) $@ 2> /dev/null || ( echo "($@ failed)" ; rm $@ ) ; \