mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-15 22:09:31 -04:00
extract repo from --remote
This commit is contained in:
parent
467a823e57
commit
978c8d59cf
1 changed files with 2 additions and 1 deletions
|
|
@ -37,6 +37,7 @@ case "${1:-}" in
|
|||
;;
|
||||
esac
|
||||
|
||||
repo=`expr "X${remote}X" : '^X--remote=\(.*\)X$'`
|
||||
|
||||
case $# in
|
||||
3)
|
||||
|
|
@ -122,7 +123,7 @@ test ! -d $topdir || {
|
|||
mkdir $topdir || exit 1
|
||||
|
||||
git archive --format=tar $remote $tag | ( cd $topdir; tar xf -)
|
||||
shorthash=`git ls-remote $remote $tag | cut -c1-8`
|
||||
shorthash=`git ls-remote $repo $tag | cut -c1-8`
|
||||
|
||||
cd $topdir || exit 1
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue