fix recursive symlink issue

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12508 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Felix Fietkau
2008-09-03 10:27:25 +00:00
parent 1328d9a59d
commit 208c2c72eb

View File

@@ -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)