From 56885c545e05d783ffd0ce97c9132f8582080acd Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 3 Sep 2008 10:27:25 +0000 Subject: [PATCH] fix recursive symlink issue SVN-Revision: 12508 --- tools/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2