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

redeclipse.sh functions for bash and sh #57

Closed
freezurbern opened this issue Feb 18, 2015 · 1 comment
Closed

redeclipse.sh functions for bash and sh #57

freezurbern opened this issue Feb 18, 2015 · 1 comment
Assignees

Comments

@freezurbern
Copy link
Member

I couldn't get redeclipse.sh to work on my Ubuntu system, it gave:

./redeclipse.sh: 4: ./redeclipse.sh: function: not found
./redeclipse.sh: 6: ./redeclipse.sh: Syntax error: "}" unexpected

Using

bash redeclipse.sh

doesn't cause problems with the functions, though.
So I found StackOverflow link about functions, which appears to fix the issue when the functions are defined as

NAME () { }

@qreeves qreeves self-assigned this Feb 18, 2015
@freezurbern
Copy link
Member Author

Another issue that could be fixed at the same time is to make sure the

/home/USER/.redeclipse/cache/devel/install.sh

file is set to executable by the user

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

No branches or pull requests

2 participants