Reformat shell scripts with shfmt

All changes in this commit were automated using the command:

  shfmt -w -i 2 -ci -bn . $(find . -name "*.sh.in")

By default, only *.sh and files without extension are checked, so
*.sh.in files have to be added additionally. (See mvdan/sh#944)
This commit is contained in:
Tom Krizek
2023-10-24 14:43:14 +02:00
parent dea544d651
commit 4cb8b13987
276 changed files with 24422 additions and 23499 deletions

View File

@@ -14,19 +14,19 @@
. ../conf.sh
[ -n "${SOFTHSM2_CONF}" ] || {
echo_i "skip: softhsm2 configuration not available"
exit 255
echo_i "skip: softhsm2 configuration not available"
exit 255
}
parse_openssl_config
[ -f "$SOFTHSM2_MODULE" ] || {
echo_i "skip: softhsm2 module not available"
exit 1
echo_i "skip: softhsm2 module not available"
exit 1
}
for _bin in softhsm2-util pkcs11-tool; do
command -v "$_bin" >/dev/null || {
echo_i "skip: $_bin not available"
exit 1
}
command -v "$_bin" >/dev/null || {
echo_i "skip: $_bin not available"
exit 1
}
done