summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-09-03 10:27:25 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-09-03 10:27:25 +0000
commit3d14a11eddc3ed3059d0fd921c4ae9bcaa6b75f3 (patch)
treecc349111a476fe54a642840318df5d9ccc5676af /tools
parentb9a9793753f83e3661108a02646304758ab96314 (diff)
fix recursive symlink issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12508 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/Makefile b/tools/Makefile
index f21b5a582..e15f061a4 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)