1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-28 01:58:17 +03:00

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

to fail directly...

metze
(This used to be commit bff8e39d3f302bb7fd6710d5e438188ad4747065)
This commit is contained in:
Stefan Metzmacher 2004-05-15 17:50:45 +00:00 committed by Gerald (Jerry) Carter
parent dc0228df6b
commit 78aa17221b

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"