bugGNU GRUB - Bugs: bug #28318, [gendistlist.sh] Use of `-not' in...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #28318: [gendistlist.sh] Use of `-not' in find command leads to errors

Submitter:  Grégoire Sutre <gsutre>
Submitted:  Thu 17 Dec 2009 09:34:33 AM UTC
   
 
Category:  Configuration Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  Fixed Privacy:  Public
Assigned to:  fzielcke Originator Name: 
Open/Closed:  Closed Release:  Bazaar - trunk
Release:  Reproducibility:  Every Time
Planned Release:  None

Thu 17 Dec 2009 10:20:22 AM UTC, comment #1: 

Thanks for spotting this.
I just fixed it in trunk. (r1940)

Felix Zielcke <fzielcke>
Group Member
Thu 17 Dec 2009 09:34:33 AM UTC, original submission:  

Hi,

The file gendistlist.sh, which is called by autogen.sh, uses the option -not for the find command, and this leads to errors, e.g. on NetBSD:

find: -not: unknown option

This problem is fixed by replacing `-not' by `!' in the find command of gendistlist.sh. According to GNU find's manual:

  ! expr True if expr is false.

  -not expr
         Same as ! expr, but not POSIX compliant.

Thanks,

Grégoire Sutre

Grégoire Sutre <gsutre>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by fzielcke (Posted a comment)
  • -email is unavailable- added by gsutre (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-12-17 fzielcke Open/ClosedOpen Closed
        Assigned toNone fzielcke
        StatusNone Fixed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code