Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-build-utils
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
korinf
etersoft-build-utils
Commits
01ae7ac0
Commit
01ae7ac0
authored
May 08, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
download_url: use epm tool eget instead of wget
parent
eb95ad9a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
web
share/eterbuild/functions/web
+1
-4
No files found.
share/eterbuild/functions/web
View file @
01ae7ac0
...
...
@@ -13,8 +13,6 @@ which rsync &>/dev/null && RSYNC=rsync || GET=false
download_url
()
{
epm assure wget
||
fatal
"Can't download, wget command is missed"
local
NAME
=
"
$(
basename
"
$1
"
)
"
# TODO
# do not download if already exists...
...
...
@@ -23,8 +21,7 @@ download_url()
# NOTE: disable cert checking
# use wget with try=1 and timeout = 30 sec
showcmd wget
--no-check-certificate
--unlink
-c
-t
1
-T
30
"
$1
"
-O
"
$NAME
"
a
=
wget
--no-check-certificate
--unlink
-c
-t
1
-T
30
"
$1
"
-O
"
$NAME
"
&&
test
-r
"
$NAME
"
&&
return
docmd epm tool eget
-O
"
$NAME
"
"
$1
"
&&
test
-r
"
$NAME
"
&&
return
rm
-f
"
$NAME
"
return
1
...
...
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