[Linux-ha-dev] Re: cronjobs v1.2 rc1 OCF resource agent now
available
Dejan Muhamedagic
dejanmm at fastmail.fm
Tue Jul 15 07:18:26 MDT 2008
On Mon, Jul 14, 2008 at 06:34:19AM -0700, Joe Bill wrote:
> > Would you mind making the script compatible with /bin/sh?
> > Many thanks for the contribution.
> > Cheers,
> > Dejan
>
> I can try.
> I suppose you are thinking of v7 sh rather than posix.
>
> It'll have to wait 2-3 weeks though, as I'm tying to push my mysql instance control out with it's OCF resource agent.
>
> Got any good links to bash2sh guidelines or rules ?
There's a tool in Debian which finds bashisms:
checkbashisms(1)
It should find most of bash features. Otherwise, I don't know any
conversion guides. You should be able to find shell references on
Internet. If in doubt, please ask on the list.
Cheers,
Dejan
More information about the Linux-HA-Dev
mailing list