return should only be used to return from a function or sourced script
authorpabs <pabs@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sun, 9 Mar 2008 05:39:22 +0000 (05:39 +0000)
committerpabs <pabs@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sun, 9 Mar 2008 05:39:22 +0000 (05:39 +0000)
git-svn-id: http://svn.voria.com/code@1898 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/build_tools/autorevision.sh

index 6464d73..3de1b2b 100644 (file)
@@ -64,7 +64,7 @@ fi
 
 
 # Abort if the header is newer
-if [ "$COMPARE" -ot "$HEADER" ] ; then return; fi
+if [ "$COMPARE" -ot "$HEADER" ] ; then exit; fi
 
 
 # Set the development version string