X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=include%2Funpack.mk;h=a139827490f53b063a424ab0029ae7580fe7f409;hp=2d3586309516ae83f28d1d3a78e8e25e773b5993;hb=af70d86d6285cab0c06e4fde0f4e0f4b12009c62;hpb=a9136c0892fa5fa1627c2502d309eeb8cda187f8 diff --git a/include/unpack.mk b/include/unpack.mk index 2d35863095..a139827490 100644 --- a/include/unpack.mk +++ b/include/unpack.mk @@ -1,18 +1,13 @@ -# +# # Copyright (C) 2006-2007 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # -# unpacking files with +s may break on some platforms. this typically emits error code 2 -ifneq ($(HOST_OS),Linux) - HOST_TAR:=trapret 2 $(TAR) -else - HOST_TAR:=$(TAR) -endif +HOST_TAR:=$(TAR) TAR_CMD=$(HOST_TAR) -C $(1)/.. $(TAR_OPTIONS) -UNZIP_CMD=unzip -d $(1)/.. $(DL_DIR)/$(PKG_SOURCE) +UNZIP_CMD=unzip -q -d $(1)/.. $(DL_DIR)/$(PKG_SOURCE) ifeq ($(PKG_SOURCE),) PKG_UNPACK ?= true