commit 64795b2ff33ef043c0252f35b6e6d553fda62a0d
parent 0d47fb3429553feaeb8a7051b4197027a8f780e2
Author: Stephen Gregoratto <dev@sgregoratto.me>
Date: Sun, 16 Jun 2019 21:16:32 +1000
set SOURCE_DATE_EPOCH directly in testfile
This avoids using the non-standard -d/--date flag of GNU date(1)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/preamble b/test/preamble
@@ -71,7 +71,7 @@ EOF
end 0
export TZ=UTC
-export SOURCE_DATE_EPOCH=$(date --date="2017-12-09 23:18:57" +'%s')
+export SOURCE_DATE_EPOCH="1512861537"
begin "Supports \$SOURCE_DATE_EPOCH"
scdoc <<EOF | grep '^\.TH "reproducible-manual" "8" "2017-12-09"' >/dev/null