Ignore:
Timestamp:
Feb 21, 2009, 12:46:29 AM (16 years ago)
Author:
bird
Message:

TAR.kmk,TARGZ.kmk,TARBZ2.kmk: Fixes and additions (BZ2).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/tools/TAR.kmk

    r2243 r2275  
    4040  TOOL_TAR_TAR := $(wildcard $(PATH_DEVTOOLS_BLD)/bin/tar$(HOSTSUFF_EXE))
    4141 endif
    42  ifeq ($(TOOL_TAR_TAR),)
     42 ifneq ($(TOOL_TAR_TAR),)
    4343  TOOL_TAR_TAR := $(lastword $(sort $(TOOL_TAR_TAR)))
    4444 else
     
    6565define TOOL_TAR_UNPACK_CMDS
    6666        $(QUIET)$(TOOL_TAR_UNPACK) -x $(flags) -C $(subst G:,,$(inst)) -f $(archive)
    67         $(QUIET)$(TOOL_TAR_UNPACK) -t $(flags) -f $(archive) > $(out)
     67        $(QUIET)$(TOOL_TAR_UNPACK) -t $(filter-out -v --verbose,$(flags)) -f $(archive) > $(out)
    6868endef
    6969else
    7070define TOOL_TAR_UNPACK_CMDS
    7171        $(QUIET)$(TOOL_TAR_UNPACK) -x $(flags) -C $(inst) -f $(archive)
    72         $(QUIET)$(TOOL_TAR_UNPACK) -t $(flags) -f $(archive) > $(out)
     72        $(QUIET)$(TOOL_TAR_UNPACK) -t $(filter-out -v --verbose,$(flags)) -f $(archive) > $(out)
    7373endef
    7474endif
Note: See TracChangeset for help on using the changeset viewer.