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: ConfigurationSeverity: Major
Priority: 5 - NormalItem Group: Software Error
Status: FixedPrivacy: Public
Assigned to: Felix Zielcke <fzielcke>Originator Name: 
Open/Closed: ClosedRelease: 
Release: Bazaar - trunkReproducibility: 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:

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>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 17 Dec 2009 10:20:22 AM UTCfzielckeOpen/ClosedOpen=>Closed
      Assigned toNone=>fzielcke
      StatusNone=>Fixed

    Back to the top


    Powered by Savane 3.1-cleanup1