• Bug#266221: /usr/bin/uupdate: line 205: [: ne: binary operator expected

    From Fumitoshi UKAI@1:229/2 to All on Tue Aug 17 05:30:08 2004
    From: [email protected]

    Package: devscripts
    Version: 2.8.1
    Severity: minor

    When I used -p option wrongly, I've got error message
    /usr/bin/uupdate: line 205: [: ne: binary operator expected

    It should be -ne.

    --- uupdate 2004-08-11 01:41:50.000000000 +0900
    +++ /tmp/uupdate 2004-08-17 12:04:56.000000000 +0900
    @@ -202,7 +202,7 @@
    done

    if [ -n "$PATCH" ]; then
    - if [ $# ne 0 ]; then
    + if [ $# -ne 0 ]; then
    echo "$PROGNAME: additional archive name/version number is not allowed with --patch" >&2
    echo "Run $PROGNAME --help for usage information" >&2
    exit 1

    Regards,
    Fumitoshi UKAI


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

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)