From 3c9def2db8a414a427fc06171a7c932831720dfb Mon Sep 17 00:00:00 2001 From: mstsirkin Date: Tue, 23 Dec 2014 19:26:49 +0000 Subject: makediff: exit on makediff.sh failure Properly propagate errors from sub-scripts. Signed-off-by: Michael S. Tsirkin git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio/branches/v1.0@461 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652 --- makediffpdf.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'makediffpdf.sh') diff --git a/makediffpdf.sh b/makediffpdf.sh index c7864df..b3031c4 100755 --- a/makediffpdf.sh +++ b/makediffpdf.sh @@ -1,5 +1,5 @@ #make pdf diff using latexpand and latexdiff-fast -./makediff.sh virtio.tex +./makediff.sh virtio.tex || exit 3 SPECDOC=${SPECDOC:-`cat REVISION`} SPECDOC="${SPECDOC}-diff" rm $SPECDOC.aux $SPECDOC.pdf $SPECDOC.out -- cgit v1.2.3