Bug#530164: false alarm from checkbashism

2009-07-13 Thread Tormod Volden
> pm-utils (1.2.5-4) unstable; urgency=low > . > * debian/patches/45-bashism-fixes.patch >- Drop this patch again as it was a false positive of checkbashims. '==' > was used inside an arithmetic expression, so the fix was bogus. > Thanks to Tormod Volden for spotting this. (Closes: #

Bug#530164: false alarm from checkbashism

2009-07-05 Thread Tormod Volden
This is actually not a bashism but a false positive from the checkbashisms script. The "fixing" commit http://cgit.freedesktop.org/pm-utils/commit/?id=f3821f3479a58a8453bf9219fb5933fd99b5c1a8 seems therefore not necessary and actually wrong. The "$elapsed == $2" is inside $((...)) and is thus an a