From 8ff06732c1a71e002bd6cfbf61e9c28476667e25 Mon Sep 17 00:00:00 2001 From: Matt Liggett Date: Mon, 7 Mar 2016 14:40:03 -0800 Subject: [PATCH] Set a default value for "$@" in yaml-quote. This appears to be a bash variation that causes spurious warnings on OS X. --- cluster/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster/common.sh b/cluster/common.sh index 264db0536f..b7bff5a49b 100755 --- a/cluster/common.sh +++ b/cluster/common.sh @@ -417,7 +417,7 @@ function stage-images() { # "strip out quotes", and we really should be using a YAML library for # this, but PyYAML isn't shipped by default, and *rant rant rant ... SIGH* function yaml-quote { - echo "'$(echo "${@}" | sed -e "s/'/''/g")'" + echo "'$(echo "${@:-}" | sed -e "s/'/''/g")'" } # Builds the RUNTIME_CONFIG var from other feature enable options (such as