You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Thilo Goetz (JIRA)" <ui...@incubator.apache.org> on 2008/08/26 10:15:44 UTC

[jira] Commented: (UIMA-1158) Some shell scripts don't work on Ubuntu Linux

    [ https://issues.apache.org/jira/browse/UIMA-1158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12625663#action_12625663 ] 

Thilo Goetz commented on UIMA-1158:
-----------------------------------

No.  There are plenty of systems out there that don't come with a bash by default (Solaris and Aix, for example).  It is best not to use bash syntax if you want your scripts to be portable.  If you don't feel like supporting other shells, name your scripts .bash, and everybody knows what they're up against.

And see Burn's issue description in a browser for what happens when you turn on Wiki syntax.  That's what I mean by it not being optional.  I'm leaning towards turning the wiki stuff off.  If it was truly optional, it would be fine.



> Some shell scripts don't work on Ubuntu Linux
> ---------------------------------------------
>
>                 Key: UIMA-1158
>                 URL: https://issues.apache.org/jira/browse/UIMA-1158
>             Project: UIMA
>          Issue Type: Bug
>          Components: Async Scaleout
>    Affects Versions: 2.2.2
>            Reporter: Burn Lewis
>
> Ubuntu uses /bin/dash as the default shell and we have some bashisms in ours, e.g. in startBroker.sh.
> Simplest fix is probably to change #!/bin/sh to #!/bin/bash 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.