From 336cb68e4f474f68890587d6ea3ec2601699ed95 Mon Sep 17 00:00:00 2001 From: Joe Beda Date: Fri, 10 Oct 2014 14:12:28 -0700 Subject: [PATCH] Fix things for real this time. Bash quoting is hard. --- build/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/common.sh b/build/common.sh index f3cf1ad4d53..33a641b7136 100644 --- a/build/common.sh +++ b/build/common.sh @@ -151,7 +151,7 @@ function kube::build::clean_output() { # Clean out the output directory if it exists. if kube::build::build_image_built ; then echo "+++ Cleaning out _output/ via docker build image" - kube::build::run_build_command rm -rf '${REMOTE_OUTPUT_ROOT}/*' + kube::build::run_build_command bash -c "rm -rf '${REMOTE_OUTPUT_ROOT}'/*" else echo "!!! Build image not built. Cannot clean via docker build image." fi