summaryrefslogtreecommitdiffstats
path: root/coin
diff options
context:
space:
mode:
authorToni Saario <toni.saario@qt.io>2021-02-15 12:54:39 +0200
committerToni Saario <toni.saario@qt.io>2021-02-19 16:27:47 +0200
commit22d692e9e01bcf486e2b268059c30998ca8b06bc (patch)
treee67121ca328689288ce5a535a8475fba150b01ab /coin
parentbb110cee5dbcce58c44e9a59b47fd0bbf6aaddaa (diff)
Doc Build: Do not fail if CMakeCache.txt does not exist
If we skip module build the CMakeCache.txt does not exist. Change-Id: Ic44bddf29f1eef1e6ffc568c871d9d7e7de71f48 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Simo Fält <simo.falt@qt.io>
Diffstat (limited to 'coin')
-rw-r--r--coin/instructions/cmake_documentation_build.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/coin/instructions/cmake_documentation_build.yaml b/coin/instructions/cmake_documentation_build.yaml
index d8ce9765ff..4fcdab8394 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.