diff options
author | quapka <quapka@gmail.com> | 2022-01-05 21:18:27 +0100 |
---|---|---|
committer | quapka <quapka@gmail.com> | 2022-01-05 21:18:27 +0100 |
commit | f0d0d69bef760fff220ef3fe3760cf5a39f511b5 (patch) | |
tree | 2cd92a5218f1e5d445e9cef58736431880a8eb91 | |
parent | a20edd86005f52540aad7c430a737330e76a8fb8 (diff) | |
download | libxcrypt-f0d0d69bef760fff220ef3fe3760cf5a39f511b5.tar.gz libxcrypt-f0d0d69bef760fff220ef3fe3760cf5a39f511b5.tar.bz2 libxcrypt-f0d0d69bef760fff220ef3fe3760cf5a39f511b5.zip |
Restrain from using undefined shell features
I've missed a ShellCheck's warning about `local`, which said that
`In POSIX sh, 'local' is undefined.`
-rwxr-xr-x | build-aux/ci/ci-log-logfiles | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build-aux/ci/ci-log-logfiles b/build-aux/ci/ci-log-logfiles index 1030ad9..675305e 100755 --- a/build-aux/ci/ci-log-logfiles +++ b/build-aux/ci/ci-log-logfiles @@ -6,7 +6,7 @@ generate_secure_token() { dump_log () { if [ -s "$1" ]; then - local stop_command_token="$(generate_secure_token)" + stop_command_token="$(generate_secure_token)" echo "::group::$1" echo "::stop-commands::$stop_command_token" cat "$1" |