remove temp file when nothing to do
This commit is contained in:
parent
97911f0a37
commit
0e8435d889
1 changed files with 1 additions and 0 deletions
|
@ -118,6 +118,7 @@ build() {
|
|||
make -f "${MAKEFILE}" -e "${TARGET}" -n | grep "^${CC}" | wc -l > .cbuild_prog.tmp
|
||||
if [ "$(cat .cbuild_prog.tmp)" = 0 ]; then
|
||||
info "Target [0m${TARGET}[34m up to date"
|
||||
rm .cbuild_prog.tmp
|
||||
return 0;
|
||||
fi
|
||||
info "Beginning build..."
|
||||
|
|
Loading…
Reference in a new issue