Skip to content

Anti-parameter expansion measures #151

@tomjn

Description

@tomjn

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}"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions