Skip to content
Snippets Groups Projects
Commit da2fce05 authored by Martin Schroschk's avatar Martin Schroschk Committed by Jan Frenzel
Browse files

Fix few missing indentations in scripts

parent d7a7df72
No related branches found
No related tags found
2 merge requests!1071Automated merge from preview to main,!1064Fix a few code style things
...@@ -110,7 +110,7 @@ fi ...@@ -110,7 +110,7 @@ fi
any_fails=false any_fails=false
for file in $files; do for file in ${files}; do
# Skip the check of this current ($0) script. # Skip the check of this current ($0) script.
if echo "${file}" | grep -qP "check-code-style.sh$"; then if echo "${file}" | grep -qP "check-code-style.sh$"; then
continue continue
......
...@@ -43,14 +43,14 @@ fi ...@@ -43,14 +43,14 @@ fi
all_ok='' all_ok=''
for f in ${files}; do for f in ${files}; do
if ! ${pythonscript} ${f}; then if ! ${pythonscript} ${f}; then
all_ok='no' all_ok='no'
fi fi
done done
if [[ -z "${all_ok}" ]]; then if [[ -z "${all_ok}" ]]; then
echo "Success!" echo "Success!"
else else
echo "Fail!" echo "Fail!"
exit 1 exit 1
fi fi
...@@ -189,7 +189,7 @@ fi ...@@ -189,7 +189,7 @@ fi
#Prevent files from being printed when the script is invoked with default #Prevent files from being printed when the script is invoked with default
# arguments. # arguments.
if [[ ${verbose} == true ]]; then if [[ ${verbose} == true ]]; then
echo "... ${files} ..." echo "... ${files} ..."
fi fi
cnt=0 cnt=0
if [[ ! -z "${file}" ]]; then if [[ ! -z "${file}" ]]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment