From: Felix Fietkau Date: Wed, 3 Sep 2008 13:25:26 +0000 (+0000) Subject: fix shell return status of the find symlink command X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c6736f006ee59c4aaa4fba7f23c81b3da5e042c4;p=openwrt%2Fstaging%2Fneocturne.git fix shell return status of the find symlink command SVN-Revision: 12514 --- diff --git a/tools/Makefile b/tools/Makefile index e15f061a4d..ecde1191ba 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -38,7 +38,9 @@ $(STAGING_DIR_HOST)/bin/md5sum: $(STAGING_DIR)/.prepared fi $(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)