Fix things for real this time.

Bash quoting is hard.
This commit is contained in:
Joe Beda 2014-10-10 14:12:28 -07:00
parent 500c77a38e
commit 336cb68e4f

View File

@ -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