]> Lady’s Gitweb - Shushe/commitdiff
Fix base64 output 0.8.1
authorLady <redacted>
Thu, 2 May 2024 05:51:44 +0000 (01:51 -0400)
committerLady <redacted>
Thu, 2 May 2024 06:15:21 +0000 (02:15 -0400)
Due to a typo, the `uuencode` trailer of four equals signs was being
appended to base64 outputs.

GNUmakefile

index 6bf0c38fc0f200b0d08c51e42f4b4740963b6418..27cefc1f9643343111fa0aa540ccbfc7f3782cdc 100644 (file)
@@ -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)))))
This page took 0.026025 seconds and 4 git commands to generate.