Commit b9ced494 authored by anonym's avatar anonym

Fail if SOURCE_DATE_EPOCH is not set.

We would fail any way if that was the case when reaching our
99-zzzzzz_reproducible-builds-post-processing build hook, but let's
fail early.
parent 9be38bcc
......@@ -22,6 +22,9 @@ if [ -n "${SOURCE_DATE_EPOCH}" ]; then
echo "SOURCE_DATE_EPOCH is set before the current time. Exiting."
exit 1
fi
else
echo "SOURCE_DATE_EPOCH is not set. Exiting."
exit 1
fi
# get git branch or tag so we can set the basename appropriately, i.e.:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment