Skip to content
Snippets Groups Projects
Commit 0119ba6b authored by Gigg, Martyn Anthony's avatar Gigg, Martyn Anthony Committed by Martyn Gigg
Browse files

Fix check for grep.exe in Windows buildscript

parent 527b67fc
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,9 @@
::
:: On exit the CM_GENERATOR variable will be set appropriately.
:: If the previous compiler does not match this then the
:: CLEANBUILD flag is also set to yes
:: CLEANBUILD flag is also set to yes. It assumes it will be called from
:: a parent with "setlocal enableextensions enabledelayedexpansion" are set
:: in the parent
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Find grep
......@@ -59,3 +61,7 @@ if EXIST %_builddir%\CMakeCache.txt (
echo Previous build used the same compiler. No need to clean.
)
)
:: Make sure we exit cleanly at this point as we could pick up the error
:: state from the "failed grep" in the CLEABUILD=yes case
exit /b 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment