Subject: Re: find: bad option -or
To: None <netbsd-users@netbsd.org>
From: Christian Biere <christianbiere@gmx.de>
List: netbsd-users
Date: 02/07/2007 18:51:11
Raymond Meyer wrote:
> Hi, I'm trying to build NetBSD on Solaris and it fails in several places with
> the following error:
 
> cd /opt/tools.sparc64/include/nbinclude && rm -f machine &&  /opt/tools.sparc64/bin/nbinstall -l s -r sparc64 machine
> find: bad option -or
> find: [-H | -L] path-list predicate-list
> nbmake: "/opt/src/tools/disklabel/../Makefile.disklabel" line 11: warning: "cd /opt/src/tools/disklabel/../../sys/arch && find . -name disklabel.h -or  -name elf_machdep.h" returned non-zero status
> 
> Using '-or' option in 'find' is not portable, could I please request it to be
> replaced with '-o' option instead.

Thanks, I have modified Makefile.disklabel to use -o instead.

-- 
Christian