summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorArtur Signell <artur.signell@itmill.com>2012-01-27 14:36:26 +0000
committerArtur Signell <artur.signell@itmill.com>2012-01-27 14:36:26 +0000
commitaf370437a999c92344f3806651dacabdbe6341fc (patch)
treeb8d0739a1d30341fab1defffdbceb6a4a217c4bf /scripts
parent116cd1f29a432fe5ca64f3023a9fec1ca130f078 (diff)
downloadvaadin-framework-af370437a999c92344f3806651dacabdbe6341fc.tar.gz
vaadin-framework-af370437a999c92344f3806651dacabdbe6341fc.zip
Added exit codes
svn changeset:22800/svn branch:6.8
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/merge-all.sh5
1 files 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 <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