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

Bash (macOS) when "Open with" Terminal from Finder #15

Open
dapgo opened this issue Jun 27, 2020 · 0 comments
Open

Bash (macOS) when "Open with" Terminal from Finder #15

dapgo opened this issue Jun 27, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@dapgo
Copy link
Owner

dapgo commented Jun 27, 2020

There is an incoherent behavior among the different ways to execute the script:

  • sh menu.sh from terminal
  • bash menu.sh from terminal
  • ./menu.sh from terminal

and

  • Finder "Open with" Terminal

Script starts with the Shebang/hashpling #!/bin/bash

In brief, in the the second case, the sentence declare -A produces an error whereas there is not error when using other methods

@dapgo dapgo added the bug Something isn't working label Jun 27, 2020
@dapgo dapgo self-assigned this Jun 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant