12 May
2017
12 May
'17
10:41 a.m.
Signed-off-by: Levente Polyak <anthraxx@archlinux.org> --- scripts/makepkg.sh.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index bd92c526..83c80fa7 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -1731,6 +1731,9 @@ if (( !REPKG )); then if (( PREPAREFUNC )); then run_prepare fi + + # unify source times before building for reproducibility + find "$srcdir" -exec touch -h -d "@${SOURCE_DATE_EPOCH}" {} + fi if (( PKGVERFUNC )); then -- 2.12.2