Fix repo cloner tag shit

This commit is contained in:
Václav Valíček 2019-06-11 23:45:03 +02:00
parent 9fca1de335
commit cf58c22474
No known key found for this signature in database
GPG Key ID: 7CF44871CEA75938

View File

@ -144,7 +144,7 @@ do
[ -f $DET_TAGS/$tagname ] || touch $DET_TAGS/$tagname
oldsha=$(cat $DET_TAGS/$tagname)
newsha=$(git --git-dir $repodir show-ref --tags $tagname | cut -d' ' -f1)
if ! [ "$oldsha" = "$newsha" ]
if ! [ "x$oldsha" = "x$newsha" ]
then
# TAG_HASH = $newsha
# TAG_NAME = $tagname