Switch to 4-space indentation

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
Gilles Peskine 2021-08-05 15:10:27 +02:00 committed by Thomas Daubney
parent 4fa948feb7
commit 560e1dcd29

View File

@ -21,7 +21,7 @@ set -e
export LC_ALL=C export LC_ALL=C
print_cpp () { print_cpp () {
cat <<'EOF' cat <<'EOF'
/* Automatically generated file. Do not edit. /* Automatically generated file. Do not edit.
* *
* This program is a dummy C++ program to ensure Mbed TLS library header files * This program is a dummy C++ program to ensure Mbed TLS library header files
@ -58,7 +58,7 @@ EOF
esac esac
done done
cat <<'EOF' cat <<'EOF'
int main() int main()
{ {
@ -71,14 +71,14 @@ EOF
} }
if [ -d include/mbedtls ]; then if [ -d include/mbedtls ]; then
: :
elif [ -d ../include/mbedtls ]; then elif [ -d ../include/mbedtls ]; then
cd .. cd ..
elif [ -d ../../include/mbedtls ]; then elif [ -d ../../include/mbedtls ]; then
cd ../.. cd ../..
else else
echo >&2 "This script must be run from an Mbed TLS source tree." echo >&2 "This script must be run from an Mbed TLS source tree."
exit 3 exit 3
fi fi
print_cpp >"${1:-programs/test/cpp_dummy_build.cpp}" print_cpp >"${1:-programs/test/cpp_dummy_build.cpp}"