Subject: find: bad option -or
To: None <netbsd-users@netbsd.org>
From: Raymond Meyer <raymond.meyer@rambler.ru>
List: netbsd-users
Date: 02/07/2007 15:16:48
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.