Fix shell syntax in do-build target.

This commit is contained in:
Havard Eidnes 2021-01-03 19:43:12 +01:00
parent b7a62e9e96
commit 1feb42a406
1 changed files with 2 additions and 2 deletions

View File

@ -404,11 +404,11 @@ do-build:
sh -c "if [ \"${BUILD_TARGET}\" = \"dist\" ]; then \
unset DESTDIR; \
${PYTHONBIN} ./x.py -v \
${BUILD_TARGET} -j ${_MAKE_JOBS_N} \
${BUILD_TARGET} -j ${_MAKE_JOBS_N}; \
else \
${PYTHONBIN} ./x.py -v \
${BUILD_TARGET} --stage 2 -j ${_MAKE_JOBS_N} && \
${SETENV} ${MAKE_ENV} ${PYTHONBIN} ./x.py -v \
${PYTHONBIN} ./x.py -v \
doc --stage 2 -j ${_MAKE_JOBS_N}; \
fi"