[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

From: Grégoire Sutre
Subject: [bug #28318] [gendistlist.sh] Use of `-not' in find command leads to errors
Date: Thu, 17 Dec 2009 09:34:34 +0000
User-agent: Mozilla/5.0 (X11; U; NetBSD i386; en-US; rv: Gecko/20091029 Browser/3.5.4


                 Summary: [gendistlist.sh] Use of `-not' in find command
leads to errors
                 Project: GNU GRUB
            Submitted by: gsutre
            Submitted on: Thu 17 Dec 2009 09:34:33 AM GMT
                Category: Configuration
                Severity: Major
                Priority: 5 - Normal
              Item Group: Software Error
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: Bazaar - trunk
         Reproducibility: Every Time
         Planned Release: None




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


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]