summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) \