summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2011-07-05 19:53:53 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2011-07-07 21:01:27 (GMT)
commit4ca599360235ac16cea940bdb2aa9dc3393dbce3 (patch)
treedc42a38c35b49d26cb18f830a5e55b533917730f
parentc4d57780be46770f9b9374a85c1e790f54e9e5f2 (diff)
downloadbuildroot-4ca599360235ac16cea940bdb2aa9dc3393dbce3.tar.gz
buildroot-4ca599360235ac16cea940bdb2aa9dc3393dbce3.tar.bz2
Fix quoting in default extract command
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/Makefile.package.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/Makefile.package.in b/package/Makefile.package.in
index c20d12c..5b2e389 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