diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2016-07-06 07:58:30 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2016-07-06 07:58:30 +0200 |
commit | b81f55cacee62c80ff15c7ecd381550d4354cd78 (patch) | |
tree | f21e30d8a84286da75f19897b2ea39ed8661c2ae | |
parent | 03d1ee5b50ad97e8953d40b93a1081d546a701e3 (diff) | |
download | ptxdist-b81f55cacee62c80ff15c7ecd381550d4354cd78.tar.gz ptxdist-b81f55cacee62c80ff15c7ecd381550d4354cd78.tar.xz |
ptxd_install_fixup_timestamps: use UTC to fix timestamps
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | scripts/lib/ptxd_make_xpkg_pkg.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lib/ptxd_make_xpkg_pkg.sh b/scripts/lib/ptxd_make_xpkg_pkg.sh index efee9e7da..ba9094b71 100644 --- a/scripts/lib/ptxd_make_xpkg_pkg.sh +++ b/scripts/lib/ptxd_make_xpkg_pkg.sh @@ -831,13 +831,13 @@ executing '${pkg_label}.${1}' export -f ptxd_install_run ptxd_install_fixup_timestamps() { - local timestamp="${PTXDIST_VERSION_YEAR}${PTXDIST_VERSION_MONTH}010000" + local timestamp="${PTXDIST_VERSION_YEAR}-${PTXDIST_VERSION_MONTH}-01 UTC" local touch_args if touch --help | grep -q -- --no-dereference &> /dev/null; then touch_args="--no-dereference" fi - find "${1}" -print0 | xargs -0 touch ${touch_args} -c -t "${timestamp}" + find "${1}" -print0 | xargs -0 touch ${touch_args} -c -d "${timestamp}" } export -f ptxd_install_fixup_timestamps |