update codestyle in travis scripts to conform to guidelines

* adds and fixes indentation in a few places
* removes redundant quotes
* adds quotes around some arguments to silence shellcheck warnings
* fixes spelling
This commit is contained in:
a1346054
2021-08-22 11:21:28 +00:00
committed by Markus F.X.J. Oberhumer
parent be8601f8cc
commit a94b0329c9
4 changed files with 30 additions and 31 deletions
+2 -2
View File
@@ -140,7 +140,7 @@ if [[ -n $BM_CROSS ]]; then
esac
fi
fi # BM_CROSS
if [[ "$CC" == "false" ]]; then # generic
if [[ $CC == "false" ]]; then # generic
if [[ -z $BM_CROSS ]]; then
if [[ $TRAVIS_OS_NAME == osx ]]; then
case $BM_C in
@@ -199,7 +199,7 @@ mkbuilddirs() {
}
# search for an existing $toptop_builddir
if [[ -z $toptop_builddir ]]; then
for d in . ..; do
for d in . ..; do
for subdir in "local" appveyor circle github gitlab travis .; do
dd=$d/build/$subdir
if [[ -d $dd ]]; then