1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-28 12:02:25 +02:00

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
This commit is contained in:
nbd 2008-09-02 10:57:56 +00:00
parent fef278a548
commit b707b703a3

View File

@ -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; \