mirror of https://github.com/hak5/openwrt-owl.git
build: leaving behind incomplete metadata files on cancelled builds
Signed-off-by: Felix Fietkau <nbd@nbd.name>owl
parent
d2f4479870
commit
934901fb3e
|
@ -40,7 +40,8 @@ define PackageDir
|
||||||
rm -f $$@; \
|
rm -f $$@; \
|
||||||
}; \
|
}; \
|
||||||
echo; \
|
echo; \
|
||||||
} > $$@ || true
|
} > $$@.tmp
|
||||||
|
mv $$@.tmp $$@
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(OVERRIDELIST):
|
$(OVERRIDELIST):
|
||||||
|
@ -76,7 +77,8 @@ $(TMP_DIR)/info/.files-$(SCAN_TARGET).mk: $(FILELIST)
|
||||||
print "$$(eval $$(call PackageDir," info "," dir "," pkg "))"; \
|
print "$$(eval $$(call PackageDir," info "," dir "," pkg "))"; \
|
||||||
} ' < $<; \
|
} ' < $<; \
|
||||||
true; \
|
true; \
|
||||||
) > $@
|
) > $@.tmp
|
||||||
|
mv $@.tmp $@
|
||||||
|
|
||||||
-include $(TMP_DIR)/info/.files-$(SCAN_TARGET).mk
|
-include $(TMP_DIR)/info/.files-$(SCAN_TARGET).mk
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue