From 27aaae5992cfe2cca508f45863bd3186708e8b41 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sat, 14 Oct 2023 02:19:36 +0100 Subject: update/release: also set timestamp on srcdir Signed-off-by: Leah Rowe --- script/update/project/release | 3 +++ 1 file changed, 3 insertions(+) (limited to 'script/update') diff --git a/script/update/project/release b/script/update/project/release index b6c0acf5..d81343e0 100755 --- a/script/update/project/release +++ b/script/update/project/release @@ -279,6 +279,9 @@ mktarball() -d "$(date -Rd @${versiondate})" {} + || \ err "mktarball ${1}: can't set universal timestamps" ) + [ -z "${touch_implementation}" ] || \ + touch -h -a -m -d "$(date -Rd @${versiondate})" "${1}" || \ + err "mktarball ${1}: can't set timestamp on ${1}" [ "${2%/*}" = "${2}" ] || x_ mkdir -p "${2%/*}" x_ tar -c "${1}" ${mtime} | xz -T0 -9e > "${2}" -- cgit v1.2.1