Improve formatting of scripts/ci/ci-driver.sh

Add and remove few empty lines, covert all tabs to 4 spaces.
No real code changes here.

Signed-off-by: skaluzka <skaluzka@protonmail.com>
This commit is contained in:
skaluzka 2022-01-06 21:25:30 +01:00
parent 66e7ddb551
commit ad7a50a6c8
No known key found for this signature in database
GPG Key ID: BA6384EF5EF76DF2

View File

@ -86,6 +86,7 @@ function error()
{
echo "${T_BOLD}${T_RED}ERROR:${T_RESET} $*" 1>&2
}
function die()
{
echo "${T_BOLD}${T_RED}FATAL ERROR:${T_RESET} $*" 1>&2
@ -357,10 +358,10 @@ if [[ "$RUN_STAGE_CONFIGURE" = "yes" ]]; then
else
debug "Skipping configure stage. Making sure that ${CI_BUILDDIR}/config.log exists."
if [[ ! -d "${CI_BUILDDIR}" ]]; then
die "Build directory ${CI_BUILDDIR} did not exist!";
die "Build directory ${CI_BUILDDIR} did not exist!"
fi
if [[ ! -f "${CI_BUILDDIR}/config.log" ]]; then
die "Tor was not configured in ${CI_BUILDDIR}!";
die "Tor was not configured in ${CI_BUILDDIR}!"
fi
cp config.log "${CI_SRCDIR}"/artifacts