diff --git a/forgebuild.sh b/forgebuild.sh index 7f77308..0be2a81 100755 --- a/forgebuild.sh +++ b/forgebuild.sh @@ -190,7 +190,8 @@ for p_name in ${PROJECTS[*]}; do if [ ! -f $BASEDIR/$p_name.source ]; then # If $p_name.done exists, the task was already run [ -f $BASEDIR/$p_name.done ] && continue - run $p_name + # If the task fails, don't register the .done + run $p_name && touch $BASEDIR/$p_name.done continue fi