Re: [Pacemaker] [PATCH] suggested bashism fixes for hb2openais.sh

2010-07-12 Thread Andrew Beekhof
On Fri, Jul 9, 2010 at 3:53 PM, Dejan Muhamedagic wrote: > Hi, > > On Wed, Jul 07, 2010 at 12:39:57PM +0200, Raoul Bhatia [IPAX] wrote: >> On 07/07/2010 11:37 AM, Dejan Muhamedagic wrote: >> > Yes, this is just an auxiliary script, I'll make it a bash >> > script. >> >> why not apply the rather tr

Re: [Pacemaker] [PATCH] suggested bashism fixes for hb2openais.sh

2010-07-09 Thread Dejan Muhamedagic
Hi, On Wed, Jul 07, 2010 at 12:39:57PM +0200, Raoul Bhatia [IPAX] wrote: > On 07/07/2010 11:37 AM, Dejan Muhamedagic wrote: > > Yes, this is just an auxiliary script, I'll make it a bash > > script. > > why not apply the rather trivial changes? OK, we can do that instead. Seems to be important f

Re: [Pacemaker] [PATCH] suggested bashism fixes for hb2openais.sh

2010-07-07 Thread Raoul Bhatia [IPAX]
On 07/07/2010 11:37 AM, Dejan Muhamedagic wrote: > Yes, this is just an auxiliary script, I'll make it a bash > script. why not apply the rather trivial changes? thanks, raoul -- DI (FH) Raoul Bhatia M.Sc. email.

Re: [Pacemaker] [PATCH] suggested bashism fixes for hb2openais.sh

2010-07-07 Thread Dejan Muhamedagic
Hi, On Wed, Jul 07, 2010 at 01:12:20AM +0200, Lars Ellenberg wrote: > On Tue, Jul 06, 2010 at 04:45:13PM +0200, Raoul Bhatia [IPAX] wrote: > > # HG changeset patch > > # User Raoul Bhatia [IPAX] > > # Date 1278427473 -7200 > > # Branch stable-1.0 > > # Node ID 6396b06964a167a53b57b80ab316c96c9de3

Re: [Pacemaker] [PATCH] suggested bashism fixes for hb2openais.sh

2010-07-07 Thread Raoul Bhatia [IPAX]
On 07/07/2010 01:12 AM, Lars Ellenberg wrote: >> -let sw=sw+1 >> > + sw=$((sw+1)) > all of these need to be sw=$(( $sw + 1 )) > and similar. > > ok, so it also works like this in "recent" dash. oh... i wasn't aware of that. i used checkbashism on debian and made the changes in reference to h

Re: [Pacemaker] [PATCH] suggested bashism fixes for hb2openais.sh

2010-07-06 Thread Lars Ellenberg
On Tue, Jul 06, 2010 at 04:45:13PM +0200, Raoul Bhatia [IPAX] wrote: > # HG changeset patch > # User Raoul Bhatia [IPAX] > # Date 1278427473 -7200 > # Branch stable-1.0 > # Node ID 6396b06964a167a53b57b80ab316c96c9de3ab39 > # Parent 31401399d6334467296a60a13d0cea7641fc9358 > suggested bashism fix

[Pacemaker] [PATCH] suggested bashism fixes for hb2openais.sh

2010-07-06 Thread Raoul Bhatia [IPAX]
# HG changeset patch # User Raoul Bhatia [IPAX] # Date 1278427473 -7200 # Branch stable-1.0 # Node ID 6396b06964a167a53b57b80ab316c96c9de3ab39 # Parent 31401399d6334467296a60a13d0cea7641fc9358 suggested bashism fixes for hb2openais.sh diff -r 31401399d633 -r 6396b06964a1 tools/hb2openais.sh.in -