From: pabs Date: Sun, 9 Mar 2008 05:39:22 +0000 (+0000) Subject: return should only be used to return from a function or sourced script X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=4cf9074f6442c2a1c4979efbccdbd154f2ee39a2;p=synfig.git return should only be used to return from a function or sourced script git-svn-id: http://svn.voria.com/code@1898 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-studio/trunk/build_tools/autorevision.sh b/synfig-studio/trunk/build_tools/autorevision.sh index 6464d73..3de1b2b 100644 --- a/synfig-studio/trunk/build_tools/autorevision.sh +++ b/synfig-studio/trunk/build_tools/autorevision.sh @@ -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