From b755dc66dfca48518b24450277173be4671fcde5 Mon Sep 17 00:00:00 2001 From: nbd Date: Sat, 5 May 2007 10:35:12 +0000 Subject: 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 --- include/unpack.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/unpack.mk') diff --git a/include/unpack.mk b/include/unpack.mk index b8349c9ca..500aada46 100644 --- a/include/unpack.mk +++ b/include/unpack.mk @@ -20,7 +20,7 @@ ifeq ($(strip $(PKG_UNPACK)),) ifeq ($(filter gz tgz,$(EXT)),$(EXT)) EXT:=$(call ext,$(PKG_SOURCE:.$(EXT)=)) - UNPACK:=$(ZCAT) $(DL_DIR)/$(PKG_SOURCE) | + UNPACK:=gzip -dc $(DL_DIR)/$(PKG_SOURCE) | endif ifeq ($(filter bzip2 bz2 bz tbz2 tbz,$(EXT)),$(EXT)) EXT:=$(call ext,$(PKG_SOURCE:.$(EXT)=)) @@ -48,9 +48,9 @@ ifeq ($(strip $(PKG_UNPACK)),) ifeq ($(PKG_CAT),unzip) PKG_UNPACK:=$(UNZIP_CMD) endif - # replace zcat with $(ZCAT), because some system have it as gzcat + # replace zcat with $(ZCAT), because some system don't support it properly ifeq ($(PKG_CAT),zcat) - PKG_UNPACK:=$(ZCAT) $(DL_DIR)/$(PKG_SOURCE) | $(TAR_CMD) + PKG_UNPACK:=gzip -dc $(DL_DIR)/$(PKG_SOURCE) | $(TAR_CMD) endif endif ifneq ($(strip $(CRLF_WORKAROUND)),) -- cgit v1.2.3