From 93f46f303e4afd21e013c67d13cbdc0497a8b076 Mon Sep 17 00:00:00 2001 From: Toni Saario Date: Mon, 15 Feb 2021 12:54:39 +0200 Subject: [PATCH] Doc Build: Do not fail if CMakeCache.txt does not exist MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If we skip module build the CMakeCache.txt does not exist. Change-Id: Ic44bddf29f1eef1e6ffc568c871d9d7e7de71f48 Reviewed-by: Oliver Wolff Reviewed-by: Simo Fält (cherry picked from commit 22d692e9e01bcf486e2b268059c30998ca8b06bc) --- coin/instructions/cmake_documentation_build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coin/instructions/cmake_documentation_build.yaml b/coin/instructions/cmake_documentation_build.yaml index d8ce9765ff4..4fcdab83948 100644 --- a/coin/instructions/cmake_documentation_build.yaml +++ b/coin/instructions/cmake_documentation_build.yaml @@ -7,7 +7,7 @@ instructions: - type: ChangeDirectory directory: "{{.BuildDir}}" - type: ExecuteCommand - command: "rm {{.SourceDir}}/CMakeCache.txt" # CMake configure does not apply if not removed. + command: "rm -f {{.SourceDir}}/CMakeCache.txt" # CMake configure does not apply if not removed. maxTimeInSeconds: 300 maxTimeBetweenOutput: 300 userMessageOnFailure: Failed to remove CMake cache.