aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-09-02 10:57:56 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-09-02 10:57:56 +0000
commita3b41b515fa9ac12a8f87cb6472854ff055b91a4 (patch)
tree22eb38da9d1ce16301f6e08150f8ce8d838df0af /include
parent64d00cee6fd05da69a15b370f2f681531ca18e58 (diff)
downloadupstream-a3b41b515fa9ac12a8f87cb6472854ff055b91a4.tar.gz
upstream-a3b41b515fa9ac12a8f87cb6472854ff055b91a4.tar.bz2
upstream-a3b41b515fa9ac12a8f87cb6472854ff055b91a4.zip
get rid of a shell warning if md5sum is not found
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12494 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r--include/scan.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/scan.mk b/include/scan.mk
index 19350b612b..7b818e8aba 100644
--- a/include/scan.mk
+++ b/include/scan.mk
@@ -52,7 +52,7 @@ $(TMP_DIR)/info/.files-$(SCAN_TARGET).mk: $(FILELIST)
$(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; \