return should only be used to return from a function or sourced script
[synfig.git] / 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