* Trent W. Buck <[EMAIL PROTECTED]> [081113 08:19]:
> Yay, consensus.  Would you please amend and re-send your patch to use
> {} \; (instead of xargs)?

I think we have a misunderstanding here.

The original line in GNUmakefile reads:
find src \( -name \*.o -o -name \*.hi \) -exec rm -rf {} + ;
which causes OpenBSD to fail:
find: -exec: no terminating ";"
gmake: *** [clean] Error 1

A solution that works on OpenBSD would be:
find src \( -name \*.o -o -name \*.hi \) -exec rm -rf {} + \;

But this causes MacOS X to fail:
find src \( -name \*.o -o -name \*.hi \) -exec rm -f {} + \;
find: ;: unknown option
make: *** [clean] Error 1

Hence this dance. The issue is not the '+' part (this was my mistake)
but the ";".  Now as I am not a shell wizard, there may be a much
easier solution to this.

Kind regards,

Christian


-- 
You may use my gpg key for replies:
pub  1024D/47F79788 2005/02/02 Christian Kellermann (C-Keen)

Attachment: pgpFK0dkU0MAY.pgp
Description: PGP signature

_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to