Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dhcp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
64
Issues
64
List
Boards
Labels
Service Desk
Milestones
Merge Requests
16
Merge Requests
16
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ISC Open Source Projects
dhcp
Commits
08f41162
Commit
08f41162
authored
Sep 17, 2018
by
Mark Andrews
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
look for fetch as well as wget
parent
e468ff7a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
12 deletions
+24
-12
util/bind.sh
util/bind.sh
+24
-12
No files found.
util/bind.sh
View file @
08f41162
...
...
@@ -134,21 +134,33 @@ else
cd
$binddir
# Get the bind version file and move it to version.tmp
wget https://
$repo_host
/
$repo_path
/raw/
$BINDTAG
/version
if
type
wget
then
wget https://
$repo_host
/
$repo_path
/raw/
$BINDTAG
/version
||
{
echo
"Fetch of version file failed"
;
exit
-1
;
}
elif
type
fetch
then
fetch https://
$repo_host
/
$repo_path
/raw/
$BINDTAG
/version
||
{
echo
"Fetch of version file failed"
;
exit
-1
;
}
else
echo
"Fetch of version file failed"
exit
1
fi
mv
version version.tmp
if
[
$?
-ne
0
]
then
echo
"Fetch of version file failed"
exit
-1
fi
# Get the bind release kit shell script
wget https://
$repo_host
/
$repo_path
/raw/master/util/kit.sh
if
[
$?
-ne
0
]
then
echo
"Fetch of kit.sh failed"
exit
-1
fi
if
type
wget
then
wget https://
$repo_host
/
$repo_path
/raw/master/util/kit.sh
||
{
echo
"Fetch of kit.sh file failed"
;
exit
-1
;
}
elif
type
fetch
then
fetch https://
$repo_host
/
$repo_path
/raw/master/util/kit.sh
||
{
echo
"Fetch of kit.sh failed"
;
exit
-1
;
}
else
echo
"Fetch of kit.sh failed"
exit
1
fi
# Create the bind tarball, which has the side effect of
# setting up the bind directory we will use for building
...
...
Write
Preview
Markdown
is supported
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