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

Shebang in autogen.sh should be #!/bin/bash #7

Closed
telkamp opened this issue Jan 7, 2019 · 1 comment
Closed

Shebang in autogen.sh should be #!/bin/bash #7

telkamp opened this issue Jan 7, 2019 · 1 comment

Comments

@telkamp
Copy link

telkamp commented Jan 7, 2019

Starting ./autoget.sh on an Ubuntu 18.04 machine, I'm getting
./autogen.sh: Syntax error: "(" unexpected
The reason is:

  • autogen.sh uses an array in line 7: CONFIGURE_ARGS=()
  • by default, autogen.sh is interpreted by sh
  • sh seems not to support arrays in this way

The solution for me was to replace !#/bin/sh by !#/bin/bash.

@madmurphy
Copy link
Owner

@telkamp

Good point! Thanks! Fixed.

--madmurphy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants