mirror of https://github.com/hak5/openwrt-owl.git
improve xargs compatibility check (mostly Darwin/Mac OS X related)
SVN-Revision: 11613owl
parent
979fb5a23e
commit
171e7134db
|
@ -39,12 +39,11 @@ $(TMP_DIR)/.host.mk: $(TOPDIR)/include/host.mk
|
||||||
else \
|
else \
|
||||||
echo 'FIND_L=find $$(1) -follow' >> $@; \
|
echo 'FIND_L=find $$(1) -follow' >> $@; \
|
||||||
fi; \
|
fi; \
|
||||||
|
if xargs --help 2>&1 | grep 'gnu.org' >/dev/null; then \
|
||||||
|
echo 'XARGS:=xargs -r' >> $@; \
|
||||||
|
else \
|
||||||
|
echo 'XARGS:=xargs' >> $@; \
|
||||||
|
fi; \
|
||||||
)
|
)
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(HOST_OS),Linux)
|
|
||||||
XARGS:=xargs -r
|
|
||||||
else
|
|
||||||
XARGS:=xargs
|
|
||||||
endif
|
|
||||||
|
|
Loading…
Reference in New Issue