IBM / cloud-native-starter

Cloud Native Starter for Java/Jakarta EE based Microservices on Kubernetes and Istio
https://cloud-native-starter.mybluemix.net/
Apache License 2.0
516 stars 273 forks source link

Script error in installation #16

Closed fachat closed 5 years ago

fachat commented 5 years ago

Running the install scripts I get the following error:

cloud-native-starter$ scripts/deploy-web-api-java-jee.sh
scripts/deploy-web-api-java-jee.sh: 8: scripts/deploy-web-api-java-jee.sh: Syntax error: "(" unexpected

on an Ubuntu 16.04 host

fachat commented 5 years ago

I guess it's about replacing "sh" with "bash" in the shebang line

nheidloff commented 5 years ago

Thanks for creating the issues @fachat. @Harald-U will return tomorrow and take a look at the Linux related ones.

Harald-U commented 5 years ago

@fachat You are right, it is the shebang "#!/bin/sh". Interestingly, it does work on Fedora. I replaced all occurrences. Thanks for pointing it out!!!