Skip to content

Commit bf7a8e9

Browse files
committed
Remove Bashism that breaks GHA worflow
1 parent 0051b2b commit bf7a8e9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,10 @@ build-cran:
130130
favicons: ${favicons}
131131

132132
export-favicon = \
133-
@sz=$$(sed 's/.*x\([[:digit:]]*\)\.png/\1/' <<<"$@") \
134-
&& set -x; \
133+
@sz=$$(echo "$@" | sed 's/.*x\([[:digit:]]*\)\.png/\1/'); \
135134
inkscape -w $$sz -h $$sz --export-area $1 --export-filename=${@D}/tmp-${@F} $< \
136-
&& pngcrush -q ${@D}/tmp-${@F} $@ && rm ${@D}/tmp-${@F}
135+
&& pngcrush -q ${@D}/tmp-${@F} $@ \
136+
&& ${RM} ${@D}/tmp-${@F}
137137

138138
${favicons_small}: figures/logo.svg | pkgdown/favicon
139139
$(call export-favicon,-11:1000:181:1192)

0 commit comments

Comments
 (0)