1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-12 20:58:37 +03:00

r747: report an failure in mkproto.pl via mkproto.sh to make

to fail directly...

metze
This commit is contained in:
Stefan Metzmacher 2004-05-15 17:50:45 +00:00 committed by Gerald (Jerry) Carter
parent e170d9c3dc
commit bff8e39d3f

View File

@ -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"