summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-05-15 17:50:45 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:53:48 -0500
commit78aa17221b58c231acbd6b573ffa5d8607a875c3 (patch)
tree5bbdc5fee9eb4066b592502bf5de5b60d303c587 /source4
parentdc0228df6b82a0782ea505755f371a8318d36f9c (diff)
downloadsamba-78aa17221b58c231acbd6b573ffa5d8607a875c3.tar.gz
samba-78aa17221b58c231acbd6b573ffa5d8607a875c3.tar.bz2
samba-78aa17221b58c231acbd6b573ffa5d8607a875c3.zip
r747: report an failure in mkproto.pl via mkproto.sh to make
to fail directly... metze (This used to be commit bff8e39d3f302bb7fd6710d5e438188ad4747065)
Diffstat (limited to 'source4')
-rw-r--r--source4/script/mkproto.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/script/mkproto.sh b/source4/script/mkproto.sh
index 43b0b52950..6cd9cd6018 100644
--- a/source4/script/mkproto.sh
+++ b/source4/script/mkproto.sh
@@ -33,6 +33,12 @@ mkdir -p `dirname $header`
${perl} script/mkproto.pl $headeropt $proto_src > $headertmp
+RET=$?
+
+if test x"$RET" != x"0";then
+ exit $RET
+fi
+
if cmp -s $header $headertmp 2>/dev/null
then
echo "$header unchanged"