notmuch-mutt BSD compatibility

Jack Peirce JPeirce at sourcecode.com
Thu Apr 30 22:24:39 PDT 2015


Some of the flags used in the notmuch-mutt script included in the 
contrib directory are not supported by the OpenBSD implementation of 
ln and xargs. 

Please consider this patch which rearranges the arguments to use flags 
compatible with both Linux and BSD implementations of ln/xargs.

Do note that I do not have the ability to test this under Linux right 
now, but I am relatively confident everything should still work fine 
as long as the man pages are correct.

xargs: use -r flag instead of --no-run-if-empty
ln: use -I flag/3rd form of ln command instead of -t flag/4th form

Thanks,
Jack


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: notmuch-mutt-bsd-compat.patch
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20150501/74527dfa/attachment.ksh>


More information about the notmuch mailing list