mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-10 07:36:28 -04:00
Don't remove programs/fuzz/Makefile
Other programs/*/Makefile are only created by CMake, but programs/fuzz has its own Makefile in the repository. Fixes #6247. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
423dd13357
commit
7959858f4c
@ -120,6 +120,9 @@
|
|||||||
# Treat uninitialised variables as errors.
|
# Treat uninitialised variables as errors.
|
||||||
set -e -o pipefail -u
|
set -e -o pipefail -u
|
||||||
|
|
||||||
|
# Enable ksh/bash extended file matching patterns
|
||||||
|
shopt -s extglob
|
||||||
|
|
||||||
pre_check_environment () {
|
pre_check_environment () {
|
||||||
if [ -d library -a -d include -a -d tests ]; then :; else
|
if [ -d library -a -d include -a -d tests ]; then :; else
|
||||||
echo "Must be run from mbed TLS root" >&2
|
echo "Must be run from mbed TLS root" >&2
|
||||||
@ -294,7 +297,7 @@ cleanup()
|
|||||||
-iname CTestTestfile.cmake -o \
|
-iname CTestTestfile.cmake -o \
|
||||||
-iname CMakeCache.txt \) -exec rm {} \+
|
-iname CMakeCache.txt \) -exec rm {} \+
|
||||||
# Recover files overwritten by in-tree CMake builds
|
# Recover files overwritten by in-tree CMake builds
|
||||||
rm -f include/Makefile include/mbedtls/Makefile programs/*/Makefile
|
rm -f include/Makefile include/mbedtls/Makefile programs/!(fuzz)/Makefile
|
||||||
|
|
||||||
# Remove any artifacts from the component_test_cmake_as_subdirectory test.
|
# Remove any artifacts from the component_test_cmake_as_subdirectory test.
|
||||||
rm -rf programs/test/cmake_subproject/build
|
rm -rf programs/test/cmake_subproject/build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user