summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-07-14 16:19:51 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-07-14 16:19:51 +0200
commit3e16daee39b50bfccf4d389385f8748da016cdcc (patch)
tree0b440f275a296bd33510c7d165be84b2fda3a2a8
parent47223981bccbf79d81a0b17657539432dacf36e2 (diff)
extract tar archive with cpio
-rw-r--r--mk/vars.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/vars.mk b/mk/vars.mk
index 5a6359910..2b50b9e5a 100644
--- a/mk/vars.mk
+++ b/mk/vars.mk
@@ -179,7 +179,7 @@ EXTRACT_CMD= mkdir -p ${WRKDIR}; \
*.tar.xz | *.txz) \
xz -dc $$file | tar -xf - ;; \
*.tar.Z | *.tar.gz | *.taz | *.tgz) \
- gzip -dc $$file | tar -xf - ;; \
+ gzip -dc $$file | $(TOOLS_DIR)/cpio -i -d ;; \
*.cpio.bz2 | *.cbz) \
bzip2 -dc $$file | $(TOOLS_DIR)/cpio -i -d ;; \
*.tar.bz2 | *.tbz | *.tbz2) \