summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
Diffstat (limited to 'script')
-rwxr-xr-xscript/update/project/release3
1 files changed, 3 insertions, 0 deletions
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}"