1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-23 23:46:16 +02:00

fix shell return status of the find symlink command

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12514 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2008-09-03 13:25:26 +00:00
parent 4a0457153b
commit cac3130d22

View File

@ -38,7 +38,9 @@ $(STAGING_DIR_HOST)/bin/md5sum: $(STAGING_DIR)/.prepared
fi
$(STAGING_DIR_HOST)/bin/find: $(STAGING_DIR)/.prepared
[ -x "$(FIND)" -a "$(FIND)" != "$@" ] && ln -sf "$(FIND)" $@
if [ -x "$(FIND)" -a "$(FIND)" != "$@" ]; then \
ln -sf "$(FIND)" $@; \
fi
$(curdir)/cmddeps = $(patsubst %,$(STAGING_DIR_HOST)/bin/%,find md5sum)