From 73e8520c8e473020824d03cdcc35531f5e25c25a Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Thu, 1 Dec 2022 13:58:25 -0600 Subject: [PATCH] fix(#2): macos find is missing -printf --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 52e4b85..3175556 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ ARGS ?= -c OK_TYPES := otf ttf woff woff2 NF_SRC := $(shell find src -type f) -ML_TYPES := $(shell find MonoLisa -mindepth 1 -type d -printf "%f ") +ML_TYPES := $(shell find ./MonoLisa -mindepth 1 -type d -exec basename {} \;) UNKNOWN := $(filter-out $(OK_TYPES),$(ML_TYPES)) $(if $(UNKNOWN),$(error unknown font type in ./MonoLisa: $(UNKNOWN)))