Sfoglia il codice sorgente

[build-ttf.sh] fix shellcheck SC2155 error

Chris Simpkins 7 anni fa
parent
commit
3a85a7679c
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      build-ttf.sh

+ 2 - 1
build-ttf.sh

@@ -15,7 +15,8 @@
 
 # set SOURCE_DATE_EPOCH to git commit date/time to support reproducible builds
 # at any git commit
-export SOURCE_DATE_EPOCH=$(git show -s --format=%ct HEAD)
+SOURCE_DATE_EPOCH=$(git show -s --format=%ct HEAD)
+export SOURCE_DATE_EPOCH
 
 # default build tooling definitions
 TTFAH="$HOME/ttfautohint-build/local/bin/ttfautohint"