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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user