mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
simplify handling of zcat - always use gzip -dc. zcat and gzcat are either broken or nonexistant on some systems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7096 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -28,9 +28,6 @@ $(TMP_DIR)/.host.mk: $(TOPDIR)/include/host.mk
|
||||
TAR=`which gtar 2>/dev/null`; \
|
||||
[ -n "$$TAR" -a -x "$$TAR" ] || TAR=`which tar 2>/dev/null`; \
|
||||
echo "TAR:=$$TAR" >> $@; \
|
||||
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)" >> $@; \
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user