Skip to content

Bash-style parameter/array expressions cause renvsubst to error #79

@joshuabaird

Description

@joshuabaird

When running renvsubst against output that contains bash-style parameter expressions like:

if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then

.. renvsubst errors with:

ERROR: failed to replace variables: Invalid character in expression: [

This happens even when a --prefix is specified.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions