Win32 tag builds: match tag cache syntax with the actual tag checks

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22320 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Geert Janssens 2012-08-16 10:27:38 +00:00
parent bb4dc5f9be
commit 86a790225c

View File

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