chore: avoid cmake -E env

It was calling into WSL bash on my machine...
This commit is contained in:
Sebastian Ullrich 2021-09-15 13:49:19 +02:00
parent 0fcc2a0fff
commit 23c3dc335b

View file

@ -468,7 +468,7 @@ endif()
if(PREV_STAGE)
add_custom_target(update-stage0
COMMAND cmake -E env CSRCS=${CMAKE_BINARY_DIR}/lib/temp bash script/update-stage0
COMMAND bash -c 'CSRCS=${CMAKE_BINARY_DIR}/lib/temp script/update-stage0'
DEPENDS make_stdlib
WORKING_DIRECTORY "${LEAN_SOURCE_DIR}/..")
endif()