Comment 9 for bug 1333243

Revision history for this message
Ian Woloschin (iwoloschin) wrote :

Here's the code block for the rebuild_cache command. You can see I just commented out the OUTPUT_FILE line and used the existing tee command, just like done one block below for the full build.

execute_process(
    COMMAND ${MINGW_MAKE} ${MAKE_KI_OPTS} rebuild_cache
    COMMAND ${TEE_COMMAND} "${LOGDIR}/make_${BUILD}_cache.log"
 WORKING_DIRECTORY "${BUILDDIR}/${BUILD}"
# OUTPUT_FILE "${LOGDIR}/make_${BUILD}_cache.log"
    ERROR_FILE "${LOGDIR}/make_${BUILD}_cache.log"
    RESULT_VARIABLE kicad_NOT_BUILT )

I've got no idea why this worked, but I noticed the problem, made the above change, and then ran it while I took care of a few other things. When I saw it worked I forgot to follow up on why exactly it was broken in the first place.