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

Submitted by:  Grégoire Sutre <gsutre>
Submitted on:  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:  Felix Zielcke <fzielcke> Originator Name: 
Open/Closed:  Closed Release: 
Release:  Bazaar - trunk 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>
Project MemberIn charge of this item.
Thu 17 Dec 2009 09:34:33 AM UTC, original submission:


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.


Grégoire Sutre

Grégoire Sutre <gsutre>
Project Member


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)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    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.4