From 3b70858b822bc608f90ef17e525415da3e50756f Mon Sep 17 00:00:00 2001 From: "Seidel, Joseph (js2589)" Date: Fri, 10 May 2019 18:37:33 -0400 Subject: [PATCH] Fix for https://github.com/att/MkTechDocs/issues/25 --- bin/mktechdocs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/mktechdocs b/bin/mktechdocs index 49e2a78..d3b8681 100755 --- a/bin/mktechdocs +++ b/bin/mktechdocs @@ -431,7 +431,7 @@ if [[ "$N" != "0" ]] ; then $template.renderer $template.pyt > $template.md normal_exit $? done - [[ $? != 0 ]] && exit $? + RV=$? ; [[ $RV != 0 ]] && exit $RV fi N=$(find . -type f | grep -c "\.htmlt$") @@ -441,7 +441,7 @@ if [[ "$N" != "0" ]] ; then $template.renderer $template.htmlt > $template.html normal_exit $? done - [[ $? != 0 ]] && exit $? + RV=$? ; [[ $RV != 0 ]] && exit $RV fi N=$(find . -type f | grep -c "\.gt$") @@ -451,7 +451,7 @@ if [[ "$N" != "0" ]] ; then gtp $template.gt > $template.md normal_exit $? done - [[ $? != 0 ]] && exit $? + RV=$? ; [[ $RV != 0 ]] && exit $RV fi #############################################################################