[PATCH] selftests/powerpc: Use date instead of EPOCHSECONDS in mitigation-patching.sh
Michael Ellerman
patch-notifications at ellerman.id.au
Tue Nov 2 21:12:00 AEDT 2021
On Mon, 25 Oct 2021 20:24:36 +1000, Russell Currey wrote:
> 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`.
>
> [...]
Applied to powerpc/next.
[1/1] selftests/powerpc: Use date instead of EPOCHSECONDS in mitigation-patching.sh
https://git.kernel.org/powerpc/c/cb662608e546d755e3e1b51b30a269459323bf24
cheers
More information about the Linuxppc-dev
mailing list