cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Williams (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CASSANDRA-1443) shell scripts are not posix compliant
Date Wed, 15 Sep 2010 18:16:33 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-1443?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Brandon Williams updated CASSANDRA-1443:
----------------------------------------

    Attachment: 1443.txt

After trying to make the scripts work under multiple shells, I think the best compromise here
is just just invoke bash directly.  It won't stop people from shooting themselves in the foot
by invoking some other shell (`sh bin/cassandra`) but that is hopefully a rare case.  Trying
to make all of our scripts work under csh is especially problematic and would require changing
a lot of logic in the scripts.

> shell scripts are not posix compliant
> -------------------------------------
>
>                 Key: CASSANDRA-1443
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1443
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 0.6
>            Reporter: Brandon Williams
>            Assignee: Brandon Williams
>            Priority: Minor
>             Fix For: 0.6.6
>
>         Attachments: 1443.txt
>
>
> Our shells scripts currently require bash, but invoke /bin/sh which may or may not be
bash.  Instead, we should make these scripts POSIX compliant so they work under any shell.

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


Mime
View raw message