diff options
author | Mike Baker <mbm@openwrt.org> | 2006-11-28 20:12:48 +0000 |
---|---|---|
committer | Mike Baker <mbm@openwrt.org> | 2006-11-28 20:12:48 +0000 |
commit | 16edf83d62c8a8bc446b5d9a74de27c2dd4f3d8b (patch) | |
tree | 7fdfc14e23d6eb798f066551bb6de6d780b5dca4 /include/host.mk | |
parent | 64b7e4e4cf5008d687a24b6456278f700b021cf0 (diff) | |
download | mtk-20170518-16edf83d62c8a8bc446b5d9a74de27c2dd4f3d8b.zip mtk-20170518-16edf83d62c8a8bc446b5d9a74de27c2dd4f3d8b.tar.gz mtk-20170518-16edf83d62c8a8bc446b5d9a74de27c2dd4f3d8b.tar.bz2 |
trivial changes
SVN-Revision: 5668
Diffstat (limited to 'include/host.mk')
-rw-r--r-- | include/host.mk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/host.mk b/include/host.mk index 278ad72..4a43471 100644 --- a/include/host.mk +++ b/include/host.mk @@ -23,11 +23,11 @@ $(TMP_DIR)/.host.mk: $(TOPDIR)/include/host.mk echo "HOST_OS:=$$HOST_OS" > $@; \ echo "HOST_ARCH:=$$HOST_ARCH" >> $@; \ echo "GNU_HOST_NAME:=$$GNU_HOST_NAME" >> $@; \ - TAR=`which gtar`; \ - [ -n "$$TAR" -a -x "$$TAR" ] || TAR=`which tar`; \ + TAR=`which gtar 2>/dev/null`; \ + [ -n "$$TAR" -a -x "$$TAR" ] || TAR=`which tar 2>/dev/null`; \ echo "TAR:=$$TAR" >> $@; \ - ZCAT=`which gzcat`; \ - [ -n "$$ZCAT" -a -x "$$ZCAT" ] || ZCAT=`which zcat`; \ + ZCAT=`which gzcat 2>/dev/null`; \ + [ -n "$$ZCAT" -a -x "$$ZCAT" ] || ZCAT=`which zcat 2>/dev/null`; \ echo "ZCAT:=$$ZCAT" >> $@; \ echo "BASH:=$(shell which bash)" >> $@; \ ) |