Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
videolan
vlc
Commits
12bc6ed4
Commit
12bc6ed4
authored
Jan 27, 2012
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contrib/tools: use BSD fetch if curl/wget are absent
parent
4c25c7e1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
contrib/src/main.mak
contrib/src/main.mak
+5
-0
extras/tools/tools.mak
extras/tools/tools.mak
+5
-0
No files found.
contrib/src/main.mak
View file @
12bc6ed4
...
...
@@ -184,6 +184,11 @@ download = rm -f $@.tmp && \
wget
--passive
-c
-p
-O
$@
.tmp
"
$(1)
"
&&
\
touch
$@
.tmp
&&
\
mv
$@
.tmp
$@
else
ifeq
($(which fetch >/dev/null 2>&1 || echo FAIL),)
download
=
rm
-f
$@
.tmp
&&
\
fetch
-p
-o
$@
.tmp
"
$(1)
"
&&
\
touch
$@
.tmp
&&
\
mv
$@
.tmp
$@
else
download
=
$(
error
Neither curl nor wget found!
)
endif
...
...
extras/tools/tools.mak
View file @
12bc6ed4
...
...
@@ -18,6 +18,11 @@ download = rm -f $@.tmp && \
wget
--passive
-c
-p
-O
$@
.tmp
"
$(1)
"
&&
\
touch
$@
.tmp
&&
\
mv
$@
.tmp
$@
else
ifeq
($(which fetch >/dev/null 2>&1 || echo FAIL),)
download
=
rm
-f
$@
.tmp
&&
\
fetch
-p
-o
$@
.tmp
"
$(1)
"
&&
\
touch
$@
.tmp
&&
\
mv
$@
.tmp
$@
else
download
=
$(
error
Neither curl nor wget found!
)
endif
...
...
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