Final reproducibility fixes

This commit is contained in:
fosslinux 2022-02-19 11:57:51 +11:00
parent 931490551a
commit e7c39af4b9
4 changed files with 12 additions and 2 deletions

View file

@ -40,7 +40,8 @@ reset_timestamp() {
args="-h"
fi
if command -v find 2>&1 >/dev/null; then
find . -exec touch ${args} -t 197001010000.00 "{}" \;
# find does not error out on exec error
find . -print0 | xargs -0 touch ${args} -t 197001010000.00
else
# A rudimentary find implementation that does the trick
fs=