]> source.dussan.org Git - vaadin-framework.git/commitdiff
Added exit codes
authorArtur Signell <artur.signell@itmill.com>
Fri, 27 Jan 2012 14:36:26 +0000 (14:36 +0000)
committerArtur Signell <artur.signell@itmill.com>
Fri, 27 Jan 2012 14:36:26 +0000 (14:36 +0000)
svn changeset:22800/svn branch:6.8

scripts/merge-all.sh

index 6106770d022af1ce2614f58ffe686d02aaa2d4cd..eda311cc3a2040ad16bc6df09455b22e8bf0740f 100755 (executable)
@@ -4,7 +4,7 @@ AUTOMERGE=$2
 if [ "$FROM" = "" ]
 then
        echo "Usage: $0 <from version> [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