summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/vars.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/vars.mk b/mk/vars.mk
index 844fdcffc..3e8a26094 100644
--- a/mk/vars.mk
+++ b/mk/vars.mk
@@ -180,11 +180,11 @@ EXTRACT_CMD= mkdir -p ${WRKDIR}; \
*.tar.xz | *.txz) \
xz -dc $$file | tar -xf - ;; \
*.tar.Z | *.tar.gz | *.taz | *.tgz) \
- gzip -dc $$file | $(TOOLS_DIR)/cpio -i -d ;; \
+ gzip -dc $$file | tar -xf - ;; \
*.cpio.bz2 | *.cbz) \
bzip2 -dc $$file | $(TOOLS_DIR)/cpio -i -d ;; \
*.tar.bz2 | *.tbz | *.tbz2) \
- bzip2 -dc $$file | $(TOOLS_DIR)/cpio -i -d ;; \
+ bzip2 -dc $$file | tar -xf - ;; \
*.zip) \
cat $$file | $(TOOLS_DIR)/cpio -ivd -H zip ;; \
*.arm) \