-
Notifications
You must be signed in to change notification settings - Fork 55
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
build.sh: Syntax error line 137b #43
Comments
@rajneeshsharma76 Can you share your build.sh ? Few questions :
|
I also have this issue. I was trying to install IDP on Ubuntu. Two weeks ago this error was on line 137. Now it indicates line 138. I run it as # sh build.sh. Tried to execute on master and on Release_1.5.0 branches. No luck. |
Hi @rajneeshsharma76 @DmitryPershyn , Please execute the script using the command 'bash build.sh' instead of 'sh build.sh'. This should solve the issue. Attaching link for the reference - https://serverfault.com/questions/387607/syntax-error-near-unexpected-token-fi |
@jvinaya , I appreciate your help. It really worked. I executed the build.sh against Release_1.5.0 branch. It did not loaded dependencies. What branch would you recommend to use ? Thank you. |
@DmitryPershyn , If you have open internet access in your server, it should automatically download the dependencies. If you're behind secured network, then make sure you have settings.xml in /root/.m2/ folder which will provide all configuration for maven. |
Describe the bug
A clear and concise description of what the bug is.
after Running sh build.sh
getting this error
build.sh: 137: build.sh: Syntax error: "do" unexpected (expecting "fi")
i am using master branch
The text was updated successfully, but these errors were encountered: