projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix image installation
[openwrt.git]
/
include
/
unpack.mk
diff --git
a/include/unpack.mk
b/include/unpack.mk
index
e195f31
..
500aada
100644
(file)
--- 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)=))
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)=))
endif
ifeq ($(filter bzip2 bz2 bz tbz2 tbz,$(EXT)),$(EXT))
EXT:=$(call ext,$(PKG_SOURCE:.$(EXT)=))
@@
-42,15
+42,15
@@
ifeq ($(strip $(PKG_UNPACK)),)
endif
# compatibility code for packages that set PKG_CAT
endif
# compatibility code for packages that set PKG_CAT
- ifeq ($(strip $(PKG_
CAT)$(PKG_
UNPACK)),)
+ ifeq ($(strip $(PKG_UNPACK)),)
# use existing PKG_CAT
PKG_UNPACK:=$(PKG_CAT) $(DL_DIR)/$(PKG_SOURCE) | $(TAR_CMD)
ifeq ($(PKG_CAT),unzip)
PKG_UNPACK:=$(UNZIP_CMD)
endif
# use existing PKG_CAT
PKG_UNPACK:=$(PKG_CAT) $(DL_DIR)/$(PKG_SOURCE) | $(TAR_CMD)
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)
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)),)
endif
endif
ifneq ($(strip $(CRLF_WORKAROUND)),)
This page took
0.019753 seconds
and
4
git commands to generate.