rm -f $$@; \
}; \
echo; \
- } > $$@ || true
+ } > $$@.tmp
+ mv $$@.tmp $$@
endef
$(OVERRIDELIST):
print "$$(eval $$(call PackageDir," info "," dir "," pkg "))"; \
} ' < $<; \
true; \
- ) > $@
+ ) > $@.tmp
+ mv $@.tmp $@
-include $(TMP_DIR)/info/.files-$(SCAN_TARGET).mk