A lot of the provisioners use statements such as this:
wme_clone_meta_repository $BASE_DIR
The problem here is that if $BASE_DIR contained a space, e.g. "test value" then it would expand to wme_clone_meta_repository test value not wme_clone_meta_repository "test value". This would allow additional parameters and commands to be included in unexpected places.
What Needs To Happen
Bare variables of the form $FOO need to be replaced with quoted versions e.g. "${BAR}"
A lot of the provisioners use statements such as this:
The problem here is that if
$BASE_DIR
contained a space, e.g."test value"
then it would expand towme_clone_meta_repository test value
notwme_clone_meta_repository "test value"
. This would allow additional parameters and commands to be included in unexpected places.What Needs To Happen
Bare variables of the form
$FOO
need to be replaced with quoted versions e.g."${BAR}"