From eaf585bc010d05db43f9eb2dd5201bdaf483a398 Mon Sep 17 00:00:00 2001 From: Carina Odenbreit Date: Wed, 11 Nov 2020 00:54:02 +0100 Subject: [PATCH] Use gzip -n to prevent embedded buildtimes --- src/tools/apply-stylesheet.sh | 2 +- src/tools/currentColorFillFix.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tools/apply-stylesheet.sh b/src/tools/apply-stylesheet.sh index 62dfda10f..516e5c66b 100755 --- a/src/tools/apply-stylesheet.sh +++ b/src/tools/apply-stylesheet.sh @@ -282,6 +282,6 @@ rm transform.xsl mv temp.svg $file.svg if [ $isSvgz = 1 ]; then - gzip $file.svg + gzip -n $file.svg mv $file.svg.gz $file.svgz fi diff --git a/src/tools/currentColorFillFix.sh b/src/tools/currentColorFillFix.sh index cb0668efc..80fa2402a 100755 --- a/src/tools/currentColorFillFix.sh +++ b/src/tools/currentColorFillFix.sh @@ -19,5 +19,5 @@ echo Processing $file /usr/bin/perl -p -i -e "s/color:#[^;]*;(.*)fill:currentColor/\1fill:currentColor/g" $file.svg -gzip $file.svg +gzip -n $file.svg mv $file.svg.gz $file.svgz \ No newline at end of file