aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/actions/install.bash2
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")"