]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
use the correct repository, and get archive by tag not hash
authorEvan Hunt <each@isc.org>
Mon, 21 May 2018 20:43:49 +0000 (13:43 -0700)
committerEvan Hunt <each@isc.org>
Mon, 21 May 2018 20:57:20 +0000 (13:57 -0700)
(cherry picked from commit 999e3233f3a9d2f4f86e491cf3751342b9087ea6)

util/kit.sh

index 683a51b8928031c85ea9ce221a388d81a9ff421d..c49b2444929c0a5d3dfdabbc941c4db45e8a3b71 100644 (file)
@@ -27,7 +27,7 @@
 #   (e.g., sh kit.sh snapshot /tmp/bindkit
 #
 
-remote=--remote=repo.isc.org:/proj/git/prod/bind9.git
+remote=--remote=git@gitlab.isc.org:isc-projects/bind9.git
 
 case "${1:-}" in
 --remote=*)
@@ -91,7 +91,7 @@ mkdir $verdir || {
     echo "$0: could not create directory $tmpdir/$verdir" >&2
     exit 1
 }
-git archive --format=tar $remote $hash version | ( cd $verdir ;tar xf - )
+git archive --format=tar $remote $tag version | ( cd $verdir ;tar xf - )
 test -f $verdir/version || {
     echo "$0: could not get 'version' file" >&2
     exit 1
@@ -120,7 +120,7 @@ test ! -d $topdir || {
 
 mkdir $topdir || exit 1
 
-git archive --format=tar $remote $hash | ( cd $topdir; tar xf -)
+git archive --format=tar $remote $tag | ( cd $topdir; tar xf -)
 
 cd $topdir || exit 1