Skip to content
  • Jesse Portnoy's avatar
    3e84f0af
    - Use `env` to envoke BASH · 3e84f0af
    Jesse Portnoy authored
    - Change function name as it's illegal in Bourne compat shells; BASH
      accepts it but, if you try running it with DASH (as an example),
    you'll get:
    
    ```
    $ dash -n suc_channel.sh
    suc_channel.sh: 26: Syntax error: Bad function name
    ```
    
    I know you're explicitly specifying BASH becuase of the `pipefail`
    option but I still think it's best to be as compatible with other Bourne
    compat shells as possible.
    3e84f0af
    - Use `env` to envoke BASH
    Jesse Portnoy authored
    - Change function name as it's illegal in Bourne compat shells; BASH
      accepts it but, if you try running it with DASH (as an example),
    you'll get:
    
    ```
    $ dash -n suc_channel.sh
    suc_channel.sh: 26: Syntax error: Bad function name
    ```
    
    I know you're explicitly specifying BASH becuase of the `pipefail`
    option but I still think it's best to be as compatible with other Bourne
    compat shells as possible.
Loading