Commit 86792e5d authored by Rashad Kanavath's avatar Rashad Kanavath

BUG: not a fatal error if command returned okay

parent 6b7a7ce3
......@@ -14,7 +14,7 @@ ${CMAKE_COMMAND} -E remove_directory
if(cleanup_stagedir_rv)
message(FATAL_ERROR "Delete ${CMAKE_INSTALL_PREFIX}/${PKG_STAGE_DIR} - FAILED\ncleanup_stagedir_ov=${cleanup_stagedir_ov}")
else()
message(FATAL_ERROR "Delete ${CMAKE_INSTALL_PREFIX}/${PKG_STAGE_DIR} - OK")
message(STATUS "Delete ${CMAKE_INSTALL_PREFIX}/${PKG_STAGE_DIR} - OK")
endif()
endif()
......@@ -31,7 +31,7 @@ ${CMAKE_COMMAND} -E remove -f "${PACKAGE_OUTPUT_FILE}"
if(cleanup_pkgfile_rv)
message(FATAL_ERROR "Delete ${PACKAGE_OUTPUT_FILE} - FAILED\ncleanup_pkgfile_ov=${cleanup_pkgfile_ov}")
else()
message(FATAL_ERROR "Delete ${PACKAGE_OUTPUT_FILE} - OK")
message(STATUS "Delete ${PACKAGE_OUTPUT_FILE} - OK")
endif()
endif()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment