Be a little more explicit when the user wants to restart a non-restartable build.

This commit is contained in:
Yann E. MORIN" 2007-06-02 15:50:45 +00:00
parent 88b6a540e3
commit c3badb0b8a

View File

@ -119,7 +119,8 @@ CT_STATE_DIR="${CT_TOP_DIR}/targets/${CT_TARGET}/state"
if [ -n "${CT_RESTART}" -a ! -d "${CT_STATE_DIR}" ]; then
CT_DoLog ERROR "You asked to restart a non-restartable build"
CT_DoLog ERROR "This happened because you didn't set CT_DEBUG_CT_SAVE_STEPS"
CT_DoLog ERROR "in the config options for the previous build"
CT_DoLog ERROR "in the config options for the previous build, or the state"
CT_DoLog ERROR "directoy for the previous build was deleted."
CT_Abort "I will stop here to avoid any carnage"
fi