From: Thomas Petazzoni Date: Tue, 5 Jul 2011 19:53:53 +0000 (+0200) Subject: Fix quoting in default extract command X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4ca599360235ac16cea940bdb2aa9dc3393dbce3;p=buildroot.git Fix quoting in default extract command Signed-off-by: Thomas Petazzoni Reviewed-by: "Yann E. MORIN" Signed-off-by: Peter Korsgaard --- diff --git a/package/Makefile.package.in b/package/Makefile.package.in index c20d12c4a6..5b2e389e91 100644 --- a/package/Makefile.package.in +++ b/package/Makefile.package.in @@ -425,7 +425,8 @@ $(2)_TARGET_CLEAN = $$($(2)_DIR)/.stamp_cleaned $(2)_TARGET_DIRCLEAN = $$($(2)_DIR)/.stamp_dircleaned # default extract command -$(2)_EXTRACT_CMDS ?= $(if $($(2)_SOURCE),$(INFLATE$(suffix $($(2)_SOURCE))) $(DL_DIR)/$($(2)_SOURCE) | \ +$(2)_EXTRACT_CMDS ?= \ + $$(if $$($(2)_SOURCE),$$(INFLATE$$(suffix $$($(2)_SOURCE))) $(DL_DIR)/$$($(2)_SOURCE) | \ $(TAR) $(TAR_STRIP_COMPONENTS)=1 -C $$($(2)_DIR) $(TAR_OPTIONS) -) # post-steps hooks