On Sun, Feb 10, 2008 at 01:48:10AM -0600, Raphael Geissert wrote: > Package: heartbeat > Severity: important > Version: 2.1.3-2 > User: [EMAIL PROTECTED] > Usertags: goal-dash > > Hello maintainer, > > While performing an archive wide checkbashisms (from the 'devscripts' > package) > check I've found your package containing several /bin/sh scripts making > use of a bashism. > > checkbashisms' output: > > possible bashism in ./usr/sbin/ocf-tester line 47 (echo -e): > > echo -e "* rc=$rc: $msg" > > possible bashism in ./usr/sbin/hb_report line 419 (cnt=$((cnt + 1)) does > > not work in dash): rc=$((rc+$?)) > > possible bashism in ./usr/sbin/hb_report line 560 (cnt=$((cnt + 1)) does > > not work in dash): shift $((OPTIND-1)) > > possible bashism in ./etc/init.d/heartbeat line 336 (should be >word 2>&1): > > $HA_BIN/heartbeat -k &> /dev/null # Kill it > > > Not using bash as /bin/sh would lead to errors. Please be aware that although > bash is currently the default /bin/sh there's a release goal for Lenny to > make dash the default /bin/sh[1].
Thanks, I'll try and get these fixed. If you have any patches that would be doubly awsome. -- Horms -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]