From 15b3507c812ca108d73935d648101d74f85331e8 Mon Sep 17 00:00:00 2001 From: RichardG867 Date: Sun, 14 Nov 2021 21:23:28 -0300 Subject: [PATCH] Slight optimization on Jenkins workspace cleanup --- .ci/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.ci/build.sh b/.ci/build.sh index 5d71fcc91..a7e690df4 100644 --- a/.ci/build.sh +++ b/.ci/build.sh @@ -211,7 +211,7 @@ set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) EOF - local cmake_flags_extra="$cmake_flags_extra -DCMAKE_TOOLCHAIN_FILE=toolchain.cmake" + local cmake_flags_extra="$cmake_flags_extra -D CMAKE_TOOLCHAIN_FILE=toolchain.cmake" # Install or update dependencies. echo [-] Installing dependencies through apt @@ -223,8 +223,8 @@ EOF # Clean workspace. echo [-] Cleaning workspace try_make clean > /dev/null - find . \( -name Makefile -o -name CMakeCache.txt -o -name CMakeFiles \) -exec rm -rf "{}" \; 2> /dev/null rm -rf build + find . \( -name Makefile -o -name CMakeCache.txt -o -name CMakeFiles \) -exec rm -rf "{}" \; 2> /dev/null # Determine available dynarec types for this architecture, and # also specify ARCH right away to skip the arch_detect process.