test: fix annoying error from hash pdflatex

Change-Id: I28a6882e9806f3d967308bc0370aa3e099fbdcaf
Signed-off-by: Ed Rodriguez <ed.rodriguez@netapp.com>
Signed-off-by: John Meneghini <johnm@netapp.com>
Reviewed-on: https://review.gerrithub.io/416051
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
John Meneghini 2018-06-19 15:24:47 -04:00 committed by Jim Harris
parent b55efd2ac7
commit 65c48bfb95

View File

@ -113,7 +113,7 @@ if [ $SPDK_BUILD_DOC -eq 1 ] && hash doxygen; then
echo "Doxygen errors found!"
exit 1
fi
if hash pdflatex; then
if hash pdflatex 2>/dev/null; then
$MAKE -C "$rootdir"/doc/output/latex --no-print-directory $MAKEFLAGS &>> "$out"/doxygen.log
fi
mkdir -p "$out"/doc