Fix repo cloner tag shit
This commit is contained in:
parent
9fca1de335
commit
cf58c22474
|
@ -144,7 +144,7 @@ do
|
||||||
[ -f $DET_TAGS/$tagname ] || touch $DET_TAGS/$tagname
|
[ -f $DET_TAGS/$tagname ] || touch $DET_TAGS/$tagname
|
||||||
oldsha=$(cat $DET_TAGS/$tagname)
|
oldsha=$(cat $DET_TAGS/$tagname)
|
||||||
newsha=$(git --git-dir $repodir show-ref --tags $tagname | cut -d' ' -f1)
|
newsha=$(git --git-dir $repodir show-ref --tags $tagname | cut -d' ' -f1)
|
||||||
if ! [ "$oldsha" = "$newsha" ]
|
if ! [ "x$oldsha" = "x$newsha" ]
|
||||||
then
|
then
|
||||||
# TAG_HASH = $newsha
|
# TAG_HASH = $newsha
|
||||||
# TAG_NAME = $tagname
|
# TAG_NAME = $tagname
|
||||||
|
|
Loading…
Reference in New Issue
Block a user