1
0
Fork 0

clean up _CPack directories before starting the build

This commit is contained in:
Wilfried Goesgens 2017-05-15 09:41:12 +02:00
parent c6d87e0060
commit c14daad63a
1 changed files with 1 additions and 0 deletions

View File

@ -679,6 +679,7 @@ ${MAKE_CMD_PREFIX} ${MAKE} ${MAKE_PARAMS}
(cd ${SOURCE_DIR}; git rev-parse HEAD > last_compiled_version.sha)
if [ -n "$CPACK" -a -n "${TARGET_DIR}" ]; then
${PACKAGE_MAKE} clean_packages || exit 1
${PACKAGE_MAKE} packages || exit 1
fi
# and install