CDV ❯ our bash scripts might not work in OS that doesn't use Bash shell by default
-
Bug
-
Status: Closed
-
2 Major
-
Resolution: Fixed
-
Configurator,Sample Apps
-
-
hhuynh
-
Reporter: hhuynh
-
June 16, 2007
-
0
-
Watchers: 0
-
March 27, 2008
-
August 14, 2007
Description
http://forums.terracotta.org/forums/posts/list/0/247.page#1388
start.sh and the other shell scripts use: #!/bin/sh
in Unbuntu, it’s invoked “dash” shell instead of Bash.
Workaround is to specifically invoke Bash shell with:
#!/bin/bash
Comments
Gary Keim 2007-06-16
Juris Galang 2007-08-14
see: http://forums.terracotta.org/forums/posts/list/0/247.page#1388
And, by default, bash doesn’t come with Solaris. If we support Solaris, we should not depend on bash.