If there is no OpenSSL installation on the system, where the make-certs script is run at, no error message will be shown; instead the script will fail silently and no certificates will be generated.
This change introduces a simple check, if the openssl binary is present and informs the user, if it's missing, shortening debugging time from minutes to mere seconds.
A bashism has been used so a pretty message gets printed without moving the check to a section before set -e.
If there is no OpenSSL installation on the system, where the
make-certs
script is run at, no error message will be shown; instead the script will fail silently and no certificates will be generated.This change introduces a simple check, if the
openssl
binary is present and informs the user, if it's missing, shortening debugging time from minutes to mere seconds.A bashism has been used so a pretty message gets printed without moving the check to a section before
set -e
.