Project: talendesb
Issue TESB-4593: Some shell scripts are incompatible with /bin/sh on Solaris
Given that we support Solaris platform, the most restricted sh implmentation must be taken into account for all scripts. At the moment, "#!/bin/sh" is specified in shell file headers, but more advanced bash syntax/features are used in the code. Example: container/bin/stop: #!/bin/sh ... export KARAF_SCRIPT="stop" the syntax of "export" used above is not compatible with the standard /bin/sh and should actually be replaced with smth. like: KARAF_SCRIPT="stop"; export KARAF_SCRIPT that would work both, on bin/sh and /bin/bash Please note - the problem makes the regression test execution for the Solaris platform pretty tricky, not to mention potential users on the Solaris platform. Thus, filing this as a major one.
Story points: 2