فهرست منبع

[build-ttf.sh] fix shellcheck SC2155 error

Chris Simpkins 6 سال پیش
والد
کامیت
3a85a7679c
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  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
 # set SOURCE_DATE_EPOCH to git commit date/time to support reproducible builds
 # at any git commit
 # 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
 # default build tooling definitions
 TTFAH="$HOME/ttfautohint-build/local/bin/ttfautohint"
 TTFAH="$HOME/ttfautohint-build/local/bin/ttfautohint"