git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc0228d
)
r747: report an failure in mkproto.pl via mkproto.sh to make
author
Stefan Metzmacher
<metze@samba.org>
Sat, 15 May 2004 17:50:45 +0000
(17:50 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:53:48 +0000
(12:53 -0500)
to fail directly...
metze
(This used to be commit
bff8e39d3f302bb7fd6710d5e438188ad4747065
)
source4/script/mkproto.sh
patch
|
blob
|
history
diff --git
a/source4/script/mkproto.sh
b/source4/script/mkproto.sh
index 43b0b52950f90af2a41823e81618f24b630dc644..6cd9cd60186be29cf143f9d6dd893604abc74974 100644
(file)
--- 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"