summaryrefslogtreecommitdiff
path: root/Kbuild
diff options
context:
space:
mode:
authorRussell Currey <ruscur@russell.cc>2021-10-25 20:24:36 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2021-10-27 22:34:02 +1100
commitcb662608e546d755e3e1b51b30a269459323bf24 (patch)
tree54883c0503e4d246a08b5766a1bf69f9596d9f61 /Kbuild
parent4a5cb51f3db4be547225a4bce7a43d41b231382b (diff)
selftests/powerpc: Use date instead of EPOCHSECONDS in mitigation-patching.sh
The EPOCHSECONDS environment variable was added in bash 5.0 (released 2019). Some distributions of the "stable" and "long-term" variety ship older versions of bash than this, so swap to using the date command instead. "%s" was added to coreutils `date` in 1993 so we should be good, but who knows, it is a GNU extension and not part of the POSIX spec for `date`. Signed-off-by: Russell Currey <ruscur@russell.cc> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20211025102436.19177-1-ruscur@russell.cc
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions