fix recursive symlink issue

SVN-Revision: 12508
This commit is contained in:
Felix Fietkau 2008-09-03 10:27:25 +00:00
parent 096531f61e
commit 56885c545e

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)