From a9bfdaa358c7fcaee35d4eb1645ca2492fe420ae Mon Sep 17 00:00:00 2001 From: firebirds Date: Fri, 1 Jul 2011 11:08:17 +0000 Subject: [PATCH] Check svn exit codes in order to avoid half-done ChangeLog --- mkChangeLog.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mkChangeLog.sh b/mkChangeLog.sh index 77a096195d..c8305a2d51 100755 --- a/mkChangeLog.sh +++ b/mkChangeLog.sh @@ -9,9 +9,9 @@ WriteBuildNumFile="src/misc/writeBuildNum.sh" HeaderFile="src/jrd/build_no.h" cd /home/fbadmin/changelogs/trunk -svn up -svn log -v >$TempLog -smallog <$TempLog >ChangeLog +svn up || exit +svn log -v >$TempLog || exit +smallog <$TempLog >ChangeLog || exit VersionCount=`egrep -c '[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}' ChangeLog` BuildNo=$((${VersionCount}+${PositiveOffset}))