diff options
author | Patrick Spek <p.spek@tyil.nl> | 2020-03-29 17:57:10 +0200 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2020-03-29 17:57:10 +0200 |
commit | 790dc3b999e52a44229e663632b19ed4502065db (patch) | |
tree | 4dd3f7a7432fd4f252130ba19f611f097214791d /lib/actions/install.bash | |
parent | 450740176e1652dfd7c4148d047ac64fb0ae0f34 (diff) |
Use the already available epoch if no epoch.txt exists
Diffstat (limited to 'lib/actions/install.bash')
-rw-r--r-- | lib/actions/install.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/actions/install.bash b/lib/actions/install.bash index 0295fb1..c4603ba 100644 --- a/lib/actions/install.bash +++ b/lib/actions/install.bash @@ -15,7 +15,6 @@ RSTAR_DEPS_PERL+=( action() { local LC_ALL local OPTIND - local SOURCE_DATE_EPOCH local duration local init local prefix_absolute @@ -34,6 +33,7 @@ action() { # Prepare environment for a reproducible install LC_ALL=C.UTF-8 + # Distribution tarballs come with an epoch set, use it if you find it. if [[ -f "$BASEDIR/etc/epoch.txt" ]] then SOURCE_DATE_EPOCH="$(head -n1 "$BASEDIR/etc/epoch.txt")" |