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 https://wiki.ubuntu.com/DashAsBinSh i didn't know that they wouldn't be as compatible as possible. thanks for pointing this out! raoul -- ____________________________________________________________________ DI (FH) Raoul Bhatia M.Sc. email. r.bha...@ipax.at Technischer Leiter IPAX - Aloy Bhatia Hava OG web. http://www.ipax.at Barawitzkagasse 10/2/2/11 email. off...@ipax.at 1190 Wien tel. +43 1 3670030 FN 277995t HG Wien fax. +43 1 3670030 15 ____________________________________________________________________ _______________________________________________ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker