diff options
author | Russell Currey <[email protected]> | 2021-10-25 20:24:36 +1000 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2021-10-27 22:34:02 +1100 |
commit | cb662608e546d755e3e1b51b30a269459323bf24 (patch) | |
tree | 54883c0503e4d246a08b5766a1bf69f9596d9f61 /drivers/usb/cdns3/cdns3-trace.c | |
parent | 4a5cb51f3db4be547225a4bce7a43d41b231382b (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 <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions