From: Lady Date: Thu, 2 May 2024 05:51:44 +0000 (-0400) Subject: Fix base64 output X-Git-Tag: 0.8.1^0 X-Git-Url: https://git.ladys.computer/Shushe/commitdiff_plain/6213173246485ca48c3c2dabb4a1d7705708ccb6?ds=sidebyside Fix base64 output Due to a typo, the `uuencode` trailer of four equals signs was being appended to base64 outputs. --- diff --git a/GNUmakefile b/GNUmakefile index 6bf0c38..27cefc1 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -378,7 +378,7 @@ override includepath = $(firstword $(foreach directory,$(INCLUDEDIR),$(if $(filt # (callable) Get base64 data u·r·i’s for the given files. # # ☡ This variable creates a subshell every time it is computed. -override datauri = $(foreach file,$1,data:$(call typeoffile,$(file));base64,$(shell $(UUENCODE) -m $(call quote,$(file)) _ | $(SED) '2,$$!d;$d' | $(TR) -d ' \n')) +override datauri = $(foreach file,$1,data:$(call typeoffile,$(file));base64,$(shell $(UUENCODE) -m $(call quote,$(file)) _ | $(SED) '2,$$!d;$$d' | $(TR) -d ' \n')) # Pair each source file and include with its local u·r·i. override sourcelocalpair := $(foreach file,$(sourcefiles) $(sourceincludes),$(file)|about:shushe?$(if $(filter $(file),$(sourceincludes)),include=$(call pathenc,$(call includepath,$(file))),source=$(call pathenc,$(call sourcepath,$(file)))))