diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-05-05 10:35:12 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-05-05 10:35:12 +0000 |
commit | 341b6afd554369bcd700dd505210955d521e9ee9 (patch) | |
tree | 3c90b41d2f46e17d92a5a9487741d76a30b04719 /include/unpack.mk | |
parent | 90237dd18c8792fd9c08a637623c011c8734c900 (diff) | |
download | upstream-341b6afd554369bcd700dd505210955d521e9ee9.tar.gz upstream-341b6afd554369bcd700dd505210955d521e9ee9.tar.bz2 upstream-341b6afd554369bcd700dd505210955d521e9ee9.zip |
simplify handling of zcat - always use gzip -dc. zcat and gzcat are either broken or nonexistant on some systems
SVN-Revision: 7096
Diffstat (limited to 'include/unpack.mk')
-rw-r--r-- | include/unpack.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/unpack.mk b/include/unpack.mk index b8349c9ca4..500aada462 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)),) |