mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 14:02:52 +02:00
update/release: also set timestamp on srcdir
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user