get rid of a shell warning if md5sum is not found

SVN-Revision: 12494
This commit is contained in:
Felix Fietkau 2008-09-02 10:57:56 +00:00
parent 6f16d961a5
commit b0d8473bf4

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