Skip to content

Syntax Error on MacOS (via homebrew) #263

@sam-at-dili

Description

@sam-at-dili

Platform

  • MacOS 15.6.1 (Sequoia)
  • bash
  • autoenv installation method: homebrew
  • autoenv version: 0.4.0

Describe the bug

Cannot source 'activate.sh':

$   source /opt/homebrew/opt/autoenv/activate.sh
-bash: /opt/homebrew/opt/autoenv/activate.sh: line 299: syntax error near unexpected token `;;'
-bash: /opt/homebrew/opt/autoenv/activate.sh: line 299: `

I can fix this manually, by downgrading to before the commit that last touched that line fixes the problem. I did this:

brew install autoenv
git clone https://github.com/hyperupcall/autoenv.git && cd autoenv 
git checkout 08c96e6841d4c8370bed21c86d0602a77609a113
cp activate.sh /opt/homebrew/opt/autoenv/

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions