Remember that sourceless task was successfully run
This commit is contained in:
parent
bc4e4c1180
commit
e1b6a7b358
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue