Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
83a4273b
Commit
83a4273b
authored
May 21, 2018
by
Evan Hunt
Browse files
use the correct repository, and get archive by tag not hash
(cherry picked from commit
999e3233
)
parent
b3769d98
Changes
1
Hide whitespace changes
Inline
Side-by-side
util/kit.sh
View file @
83a4273b
...
...
@@ -20,7 +20,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
=
*
)
...
...
@@ -84,7 +84,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
...
...
@@ -113,7 +113,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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment