Win32: more fixes for git based tag build

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22311 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Geert Janssens 2012-08-15 08:37:34 +00:00
parent d38357f7a4
commit 0835f8b730

View File

@ -40,7 +40,7 @@ tagfile=tags_git
if [ ! -f ${tagfile} ] ; then
for one_tag in $($GIT_CMD tag)
do
tag_hash=$($GIT_CMD rev_parse ${one_tag})
tag_hash=$($GIT_CMD rev-parse ${one_tag})
echo ${one_tag}/${tag_hash} >> ${tagfile}
done
fi
@ -49,7 +49,7 @@ fi
rm -f ${tagfile}.new
for one_tag in $($GIT_CMD tag)
do
tag_hash=$($GIT_CMD rev_parse ${one_tag})
tag_hash=$($GIT_CMD rev-parse ${one_tag})
echo ${one_tag}/${tag_hash} >> ${tagfile}.new
done
tags="`diff --suppress-common-lines ${tagfile} ${tagfile}.new | grep '^> ' | sed -e 's/^> //g'`"