[PATCH] avoid find error on freebsd

Andreas Kohn andreas at syndrom23.de
Thu Oct 6 10:59:51 EDT 2005


Hi,

attached is a small fix to code/unix/Makefile that avoids an error when
calling find.

Short explanation: GNU find allows find to be called w/o any paths to
search, it takes the current working directory in that case.
FreeBSD's find does not allow that. I'm not sure if this could be a bug
in FreeBSD's find implementation, but for now the patch will do what was
intended in the Makefile.

Regards,
Andreas

PS: Here's the error message on FreeBSD:
find: illegal option -- n
find: illegal option -- a
find: illegal option -- m
find: illegal option -- e
find: *.d: No such file or directory
gmake[2]: Entering directory
`/storage/quake3/icculus.org/quake3/code/unix'

-- 
<TalisA> was macht man eigentlich auf einer linux-gamer lan ? hl server
aufsetzen und freuen ? *duck* ^^
-------------- next part --------------
A non-text attachment was scrubbed...
Name: code-unix-Makefile-find.diff
Type: text/x-patch
Size: 436 bytes
Desc: not available
URL: <http://icculus.org/pipermail/quake3/attachments/20051006/85f1e855/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
URL: <http://icculus.org/pipermail/quake3/attachments/20051006/85f1e855/attachment.pgp>


More information about the quake3 mailing list