From: Felix Fietkau Date: Sat, 19 Sep 2009 17:40:12 +0000 (+0000) Subject: merge gnutar fix from r17575 to 8.09 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6b9f7d0c03b7fe33d6de393cbbf1c4d1d6813bd5;p=openwrt%2Fsvn-archive%2Farchive.git merge gnutar fix from r17575 to 8.09 SVN-Revision: 17612 --- diff --git a/include/host.mk b/include/host.mk index 9d0c64372a..b93ab8d536 100644 --- a/include/host.mk +++ b/include/host.mk @@ -30,6 +30,7 @@ $(TMP_DIR)/.host.mk: $(TOPDIR)/include/host.mk echo "HOST_ARCH:=$$HOST_ARCH" >> $@; \ echo "GNU_HOST_NAME:=$$GNU_HOST_NAME" >> $@; \ TAR=`which gtar 2>/dev/null`; \ + [ -n "$$TAR" -a -x "$$TAR" ] || TAR=`which gnutar 2>/dev/null`; \ [ -n "$$TAR" -a -x "$$TAR" ] || TAR=`which tar 2>/dev/null`; \ echo "TAR:=$$TAR" >> $@; \ FIND=`which gfind 2>/dev/null`; \