From: Felix Fietkau Date: Wed, 3 Sep 2008 10:27:25 +0000 (+0000) Subject: fix recursive symlink issue X-Git-Tag: reboot~25636 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=56885c545e05d783ffd0ce97c9132f8582080acd;p=openwrt%2Fstaging%2Fpepe2k.git fix recursive symlink issue SVN-Revision: 12508 --- diff --git a/tools/Makefile b/tools/Makefile index f21b5a5820..e15f061a4d 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -38,7 +38,7 @@ $(STAGING_DIR_HOST)/bin/md5sum: $(STAGING_DIR)/.prepared fi $(STAGING_DIR_HOST)/bin/find: $(STAGING_DIR)/.prepared - [ -x "$(FIND)" ] && ln -sf "$(FIND)" $@ + [ -x "$(FIND)" -a "$(FIND)" != "$@" ] && ln -sf "$(FIND)" $@ $(curdir)/cmddeps = $(patsubst %,$(STAGING_DIR_HOST)/bin/%,find md5sum)