Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interprete command substitution correctly in Bash #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Oct 31, 2021

  1. Interprete command substitution correctly in Bash

    When running install command in MacOS Catalina (Bash version 3.2.57),
    the install command fails with the error:
    
        .asdf/plugins/jq/bin/install: line 24: syntax error near unexpected token `;;'
    
    This is because in the platform function the command substitution is
    misinterpreted due to the closing parentheses of the case patterns.
    
    Prefixing the case patterns with opening parenthenses ensures that the
    command substitution is interpreted correctly.
    osule committed Oct 31, 2021
    Configuration menu
    Copy the full SHA
    ff9593b View commit details
    Browse the repository at this point in the history