From af370437a999c92344f3806651dacabdbe6341fc Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Fri, 27 Jan 2012 14:36:26 +0000 Subject: Added exit codes svn changeset:22800/svn branch:6.8 --- scripts/merge-all.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/merge-all.sh b/scripts/merge-all.sh index 6106770d02..eda311cc3a 100755 --- a/scripts/merge-all.sh +++ b/scripts/merge-all.sh @@ -4,7 +4,7 @@ AUTOMERGE=$2 if [ "$FROM" = "" ] then echo "Usage: $0 [automerge]" - exit + exit 3 fi if [ "$AUTOMERGE" = "automerge" ] then @@ -16,7 +16,7 @@ localchanges=`svn stat|wc -l` if [ "$localchanges" != "0" ] && [ "$IGNOREDIRTY" != "ignoredirty" ] then echo "You must have a clean working space copy" - exit + exit 4 fi currentrepowithoutversion=`svn info|grep URL|sed "s/URL: //"|sed "s/\/[^\/]*$//"` @@ -61,3 +61,4 @@ then echo $cmd fi +exit 0 -- cgit v1.2.3