summaryrefslogtreecommitdiff
path: root/makediffpdf.sh
diff options
context:
space:
mode:
authormstsirkin <mstsirkin@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652>2014-12-23 19:26:49 +0000
committermstsirkin <mstsirkin@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652>2014-12-23 19:26:49 +0000
commit3c9def2db8a414a427fc06171a7c932831720dfb (patch)
tree26158eac72448cde86d5caabac4570986b5bc631 /makediffpdf.sh
parent9b202acca2f6569c4ad5dcf709ec4c8335695b94 (diff)
makediff: exit on makediff.sh failure
Properly propagate errors from sub-scripts. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio/branches/v1.0@461 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
Diffstat (limited to 'makediffpdf.sh')
-rwxr-xr-xmakediffpdf.sh2
1 files changed, 1 insertions, 1 deletions
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