[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:1.9.1.4) Gecko/20091029 Browser/3.5.4 |
URL:
<http://savannah.gnu.org/bugs/?28318>
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:
Release: Bazaar - trunk
Reproducibility: Every Time
Planned Release: None
_______________________________________________________
Details:
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
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?28318>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #28318] [gendistlist.sh] Use of `-not' in find command leads to errors,
Grégoire Sutre <=