mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-12 19:49:59 -04:00
[v9_10] use 7 character short hash for srcid
This commit is contained in:
parent
be4ececeb0
commit
349c92557c
1 changed files with 2 additions and 2 deletions
|
|
@ -92,9 +92,9 @@ test -f $verdir/version || {
|
|||
rm $verdir/version
|
||||
rmdir $verdir
|
||||
|
||||
shorthash=`git ls-remote $repo refs/heads/$tag | cut -c1-8`
|
||||
shorthash=`git ls-remote $repo refs/heads/$tag | cut -c1-7`
|
||||
if [ -z "$shorthash" ]; then
|
||||
shorthash=`git ls-remote $repo refs/tags/$tag | cut -c1-8`
|
||||
shorthash=`git ls-remote $repo refs/tags/$tag | cut -c1-7`
|
||||
fi
|
||||
if [ -z "$shorthash" ]; then
|
||||
echo "Unable to determine hash for $tag, aborting."
|
||||
|
|
|
|||
Loading…
Reference in a new issue