fix shell return status of the find symlink command

SVN-Revision: 12514
master
Felix Fietkau 16 years ago
parent 3b937f85e8
commit c6736f006e
  1. 4
      tools/Makefile

@ -38,7 +38,9 @@ $(STAGING_DIR_HOST)/bin/md5sum: $(STAGING_DIR)/.prepared
fi fi
$(STAGING_DIR_HOST)/bin/find: $(STAGING_DIR)/.prepared $(STAGING_DIR_HOST)/bin/find: $(STAGING_DIR)/.prepared
[ -x "$(FIND)" -a "$(FIND)" != "$@" ] && ln -sf "$(FIND)" $@ if [ -x "$(FIND)" -a "$(FIND)" != "$@" ]; then \
ln -sf "$(FIND)" $@; \
fi
$(curdir)/cmddeps = $(patsubst %,$(STAGING_DIR_HOST)/bin/%,find md5sum) $(curdir)/cmddeps = $(patsubst %,$(STAGING_DIR_HOST)/bin/%,find md5sum)

Loading…
Cancel
Save