Skip to content

Implement associative arrays for bash services #23

Open

Description

@Marak

Right now, bash services are still injecting all request and env parameters into separate unique bash variables ( like how Lua use to work prior to #18 )

It would be better if we used bash 4 feature of associative arrays for creating two objects, Hook.params and Hook.env, which are populated with many items ( instead of creating many unique variable names )

Activity

  1. Marak commented on Feb 10, 2017

    @Marak
    CollaboratorAuthor

    I added the code, but it turns out bash 4 isn't readily installed on many systems.

    I'll see if I can get this checked in with dual support for bash 3 and 4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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