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

README.md results in syntax error #6

Open
dancesWithCycles opened this issue Mar 1, 2023 · 2 comments
Open

README.md results in syntax error #6

dancesWithCycles opened this issue Mar 1, 2023 · 2 comments

Comments

@dancesWithCycles
Copy link

Hi folks,
Thank you so much for providing and maintaining this repository.

I installed libressl according to the README.md. That worked out I guess.

According to the README.md I am installing required modules. That results in syntax errors. Please see yourself.

oatpp-example-libressl$ ./utility/install-oatpp-modules.sh 
./utility/install-oatpp-modules.sh: 17: Syntax error: "(" unexpected
oatpp-example-libressl$ ./utility/install-oatpp-modules.sh oatpp
./utility/install-oatpp-modules.sh: 17: Syntax error: "(" unexpected

I appreciate any clue on this matter. Cheers!

@dancesWithCycles
Copy link
Author

In this repository I am facing the same syntax error:

oatpp-example-crud$ ./utility/install-oatpp-modules.sh 
./utility/install-oatpp-modules.sh: 17: Syntax error: "(" unexpected

@dancesWithCycles
Copy link
Author

Hi folks,
you can run the ./utility/install-oatpp-modules.sh script with the bash shell (at least on Debian). The default sh shell in Debian is not working.

bash ./utility/install-oatpp-modules.sh

So, shall we switch from

#!/bin/sh

to

#!/bin/bash

or shall we update the README.md files to remind people to chose the corresponding shell on the development host?

Cheers!

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

1 participant