[Pkg-kde-extras] Bug#489622: kvpnc: bashism in /bin/sh script
Adam D. Barratt
adam at adam-barratt.org.uk
Sun Sep 21 17:23:27 UTC 2008
On Sun, 2008-08-24 at 14:30 +0100, Chris Lamb wrote:
> Patch attached.
-if [[ $fails > `expr $TEST_PING_COUNT - 1` ]]; then
+if [ $fails > `expr $TEST_PING_COUNT - 1` ]; then
Unfortunately the fix there is slightly broken - it creates a file with
a numeric filename rather than comparing the two numbers; yay for the
extensions in [[. :-/
To get the same behaviour as the original you need
if [ $fails -gt `expr $TEST_PING_COUNT - 1` ]; then
Regards,
Adam
More information about the pkg-kde-extras
mailing list