From: dooglus Date: Mon, 11 Feb 2008 13:18:32 +0000 (+0000) Subject: Use the .git/ directory not the .git/svn/ directory to check whether to update the... X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=ac121059e307bf658f4994177b591ef92bcbaed6;p=synfig.git Use the .git/ directory not the .git/svn/ directory to check whether to update the autorevision.h header. I may be working in a clone of the repository I run git-svn in, or maybe I've made local commits but not run git-svn since, so need the 'M' flag adding to the header. git-svn-id: http://svn.voria.com/code@1670 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-studio/trunk/build_tools/autorevision.sh b/synfig-studio/trunk/build_tools/autorevision.sh index ec7ec8d..c3c67cf 100644 --- a/synfig-studio/trunk/build_tools/autorevision.sh +++ b/synfig-studio/trunk/build_tools/autorevision.sh @@ -16,7 +16,7 @@ get_git_svn_id(){ export SCM=git-svn export REVISION=`cd "$1"; git svn find-rev HEAD` - export COMPARE="$1/.git/svn" + export COMPARE="$1/.git/" if [ x = "x$REVISION" ] ; then # The extra M at the end is for Modified export REVISION=`cd "$1"; git svn find-rev \`git rev-list --max-count=1 --grep='git-svn-id: ' HEAD\``M