Package: fslint
Version: 2.24-1
Severity: normal

My default shell is 'dash'.  

Select 'Redundant whitespace', pick a file to 'Clean' and the status
boxes below report:

    0 items cleaned (0 bytes saved)

    [: 10: ==: unexpected operator
    Usage: fix_ws.sh: --eol|'' --indent-spaces|--indent-tabs|'' indent_width 
filename

The error quotes a 'bash'-ism.  Test:  I changed the first line of:

    /usr/share/fslint/fslint/supprt/rmlint/fix_ws.sh

...from:

    #!/bin/sh

...to: 

    #!/bin/bash

And then the 'Clean' button worked:

    1 items cleaned (3 bytes saved)


Hope this helps...


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-2-k7 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash

Versions of packages fslint depends on:
ii  python                        2.4.4-6    An interactive high-level object-o
ii  python-glade2                 2.12.0-1   GTK+ bindings: Glade support
ii  python-gtk2                   2.12.0-1   Python bindings for the GTK+ widge

fslint recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to