Skip to content

Commit 558800c

Browse files
committed
[build-ttf.sh, build-subsets.sh] export environment variable for reproducible build support
1 parent 43b5ba0 commit 558800c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

build-subsets.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# //////////////////////////////////////////////////////////////////////
1616

1717
# set SOURCE_DATE_EPOCH to git commit date/time for reproducible builds
18-
SOURCE_DATE_EPOCH=$(git show -s --format=%ct HEAD)
18+
export SOURCE_DATE_EPOCH=$(git show -s --format=%ct HEAD)
1919

2020
# default build tooling definitions
2121
TTFAH="$HOME/ttfautohint-build/local/bin/ttfautohint"

build-ttf.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
#
1414
# /////////////////////////////////////////////////////////////////
1515

16-
# set SOURCE_DATE_EPOCH to git commit date/time for reproducible builds
17-
SOURCE_DATE_EPOCH=$(git show -s --format=%ct HEAD)
16+
# set SOURCE_DATE_EPOCH to git commit date/time to support reproducible builds
17+
# at any git commit
18+
export SOURCE_DATE_EPOCH=$(git show -s --format=%ct HEAD)
1819

1920
# default build tooling definitions
2021
TTFAH="$HOME/ttfautohint-build/local/bin/ttfautohint"
@@ -140,7 +141,6 @@ if ! $FONTMAKE -u "source/Hack-BoldItalic.ufo" -o ttf
140141
exit 1
141142
fi
142143

143-
144144
# Desktop ttf font post build fixes
145145

146146
# DSIG table fix with adapted fontbakery Python script

0 commit comments

Comments
 (0)