On Thu, Dec 13, 2012 at 03:42:08PM -0500, Aaron Schrab wrote:
Use the directory where the version.sh script is located as the
directory where it is run.  Since this will be run in a separate shell
anyway, there's no need to worry about changing current directory.

This eliminates the need for the caller to specify where the source
directory is located, and doesn't require that the code take special
care to use the appropriate directory.  The fallback method of using
`cat VERSION` was broken in this respect, it would not work when run
from a different directory.

Applied, thanks.

Reply via email to