From: Lady Date: Sun, 28 Apr 2024 02:46:39 +0000 (-0400) Subject: Don’t use <<< X-Git-Tag: 0.7.3~3 X-Git-Url: https://git.ladys.computer/Shushe/commitdiff_plain/54fe3a7117cb2f1783e623df1d19e415757fcfb2 Don’t use <<< This isn’t supported in Dash. --- diff --git a/GNUmakefile b/GNUmakefile index 944f6de..42e677c 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -309,7 +309,7 @@ sourcefiles := $(filter-out $(sourceincludes),$(shell $(FIND) $(foreach dir,$(SR # Figure out the file type of each source file and source include. ifneq ($(wildcard $(BUILDDIR)/magic.mgc),) -override types := $(shell $(SED) 's/^ *//;s/ *$$//;s/ {2,}/ /g' <<< $(call quote,$(sourcefiles) $(sourceincludes)) | $(TR) ' ' '\n' | $(FILE) -m $(call quote,$(BUILDDIR)/magic.mgc) --mime-type --separator '|' --files-from - | $(SED) 's/| */|/g') +override types := $(shell $(PRINTF) '%s\n' $(call quote,$(sourcefiles) $(sourceincludes)) | $(SED) 's/^ *//;s/ *$$//;s/ {2,}/ /g' | $(TR) ' ' '\n' | $(FILE) -m $(call quote,$(BUILDDIR)/magic.mgc) --mime-type --separator '|' --files-from - | $(SED) 's/| */|/g') endif # Get the list of supported plaintext file types from the parser.