diff options
author | mstsirkin <mstsirkin@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652> | 2014-12-23 19:26:49 +0000 |
---|---|---|
committer | mstsirkin <mstsirkin@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652> | 2014-12-23 19:26:49 +0000 |
commit | 3c9def2db8a414a427fc06171a7c932831720dfb (patch) | |
tree | 26158eac72448cde86d5caabac4570986b5bc631 | |
parent | 9b202acca2f6569c4ad5dcf709ec4c8335695b94 (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
-rwxr-xr-x | makediffhtml.sh | 2 | ||||
-rwxr-xr-x | makediffpdf.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/makediffhtml.sh b/makediffhtml.sh index 15c4a30..f8f8783 100755 --- a/makediffhtml.sh +++ b/makediffhtml.sh @@ -1,6 +1,6 @@ #!/bin/sh -./makediff.sh virtio-html.tex +./makediff.sh virtio-html.tex || exit 3 SPECDOC=${SPECDOC:-`cat REVISION`} SPECDOC="${SPECDOC}-diff" 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 |