mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-11 19:55:32 +00:00
Remove obsolete cd at the end of a component
This is no longer useful now that components run in a subshell. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
ca9cfcaed9
commit
717d55edbe
|
@ -2996,15 +2996,10 @@ component_test_cmake_out_of_source () {
|
||||||
|
|
||||||
component_test_cmake_as_subdirectory () {
|
component_test_cmake_as_subdirectory () {
|
||||||
msg "build: cmake 'as-subdirectory' build"
|
msg "build: cmake 'as-subdirectory' build"
|
||||||
MBEDTLS_ROOT_DIR="$PWD"
|
|
||||||
|
|
||||||
cd programs/test/cmake_subproject
|
cd programs/test/cmake_subproject
|
||||||
cmake .
|
cmake .
|
||||||
make
|
make
|
||||||
./cmake_subproject
|
./cmake_subproject
|
||||||
|
|
||||||
cd "$MBEDTLS_ROOT_DIR"
|
|
||||||
unset MBEDTLS_ROOT_DIR
|
|
||||||
}
|
}
|
||||||
support_test_cmake_as_subdirectory () {
|
support_test_cmake_as_subdirectory () {
|
||||||
support_test_cmake_out_of_source
|
support_test_cmake_out_of_source
|
||||||
|
|
Loading…
Reference in a new issue