make docs broken in master

Sebastian Spaeth Sebastian at SSpaeth.de
Thu Feb 17 11:09:16 GMT 2011


Hi there,
still a bug in make docs that I only discovered today.

our Makefile contains

type rst2html 2>/dev/null && echo rst2html || echo rst2html.py

which outputs on my box:

rst2html is /usr/bin/rst2html
rst2html

which will break things. So either we need to suppres STDOUT too:

type rst2html >/dev/null 2>&1 && echo rst2html || echo rst2html.py

(which works), or we could use `which rst2html` (which returns 0 if the
command exists) and outputs the proper path.

Thanks,
Sebastian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20110217/2b6a4c84/attachment.sig>


More information about the OfflineIMAP-project mailing list