From 3cb5e9bf5a61b62fb225dac431024f9eb220f4f2 Mon Sep 17 00:00:00 2001 From: David Horstmann Date: Tue, 30 Nov 2021 11:40:54 +0000 Subject: [PATCH] Use $PWD instead of $(pwd) for consistency Change the new baremetal all.sh tests to use $PWD rather than calling pwd again directly. Signed-off-by: David Horstmann --- tests/scripts/all.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index 37b0e30da..50199daba 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -1507,7 +1507,7 @@ component_build_crypto_full () { component_build_crypto_baremetal () { msg "build: make, crypto only, baremetal config" scripts/config.py crypto_baremetal - make CFLAGS="-O1 -Werror -I$(pwd)/tests/include/baremetal-override/" + make CFLAGS="-O1 -Werror -I$PWD/tests/include/baremetal-override/" are_empty_libraries library/libmbedx509.* library/libmbedtls.* } support_build_crypto_baremetal () { @@ -1517,7 +1517,7 @@ support_build_crypto_baremetal () { component_build_baremetal () { msg "build: make, baremetal config" scripts/config.py baremetal - make CFLAGS="-O1 -Werror -I$(pwd)/tests/include/baremetal-override/" + make CFLAGS="-O1 -Werror -I$PWD/tests/include/baremetal-override/" } support_build_baremetal () { # Older Glibc versions include time.h from other headers such as stdlib.h,