doc: rst2xxx: fix ignoring output while determining the command name

Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
Nicolas Sebrecht
2011-03-07 22:23:21 +01:00
parent b94bf79258
commit b18bde70c9
3 changed files with 5 additions and 3 deletions

View File

@ -18,7 +18,7 @@
VERSION=6.3.2
TARGZ=offlineimap_$(VERSION).tar.gz
SHELL=/bin/bash
RST2HTML=`type rst2html 2>/dev/null 2>&1 && echo rst2html || echo rst2html.py`
RST2HTML=`type rst2html >/dev/null 2>&1 && echo rst2html || echo rst2html.py`
all: build