X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/7a694d4e5f8054d5c4b05fbed69fb1a38f387e29..0f5e566f221459f8293482fbcb54dfca672df927:/include/scan.mk?ds=sidebyside diff --git a/include/scan.mk b/include/scan.mk index 3d97a4f5c..7b818e8ab 100644 --- a/include/scan.mk +++ b/include/scan.mk @@ -17,7 +17,7 @@ ifeq ($(IS_TTY),1) endef else define progress - : + :; endef endif @@ -50,9 +50,9 @@ $(TMP_DIR)/info/.files-$(SCAN_TARGET).mk: $(FILELIST) -include $(TMP_DIR)/info/.files-$(SCAN_TARGET).mk $(TARGET_STAMP):: - ( \ + +( \ $(NO_TRACE_MAKE) $(FILELIST); \ - MD5SUM=$$(cat $(FILELIST) | (md5sum || md5) | awk '{print $$1}'); \ + MD5SUM=$$(cat $(FILELIST) | (md5sum || md5) 2>/dev/null | awk '{print $$1}'); \ [ -f "$@.$$MD5SUM" ] || { \ rm -f $@.*; \ touch $@.$$MD5SUM; \