From: pabs Date: Sun, 24 Feb 2008 05:38:10 +0000 (+0000) Subject: Fix the fix for uncommitted local git-svn changes. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=032269d32f78ee9ec21817de9a3646cd29d9d2bc;p=synfig.git Fix the fix for uncommitted local git-svn changes. git-svn-id: http://svn.voria.com/code@1810 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-studio/trunk/build_tools/autorevision.sh b/synfig-studio/trunk/build_tools/autorevision.sh index 0402507..6464d73 100644 --- a/synfig-studio/trunk/build_tools/autorevision.sh +++ b/synfig-studio/trunk/build_tools/autorevision.sh @@ -21,9 +21,7 @@ get_git_svn_id(){ # 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 else - if ! git diff --quiet HEAD ; then - export REVISION="$REVISION"M - fi + export REVISION="$REVISION"`cd "$1"; git diff --quiet HEAD || echo M` fi }