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
92194798
Commit
92194798
authored
Feb 25, 2014
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some comment fixes
parent
db201095
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
spec
share/eterbuild/functions/spec
+1
-0
web
share/eterbuild/functions/web
+4
-2
No files found.
share/eterbuild/functions/spec
View file @
92194798
...
...
@@ -105,6 +105,7 @@ get_version()
eval_spec
$1
| get_var
"Version"
}
# Args: specname, sourceN
get_tarballname
()
{
local
SOURCE
=
$(
eval_spec
$1
| get_var
"Source
$2
"
)
...
...
share/eterbuild/functions/web
View file @
92194798
...
...
@@ -5,14 +5,15 @@
which xdg-open 2>/dev/null
>
/dev/null
&&
BROWSER
=
xdg-open
# TODO: use epm assure
# (command from perl-libwww)
which GET &>/dev/null
&&
GET
=
GET
||
GET
=
false
which rsync &>/dev/null
&&
RSYNC
=
rsync
||
GET
=
false
download_url
()
{
# use wget with try=1 and timeout = 30 sec
which wget
>
/dev/null
||
fatal
"Can't download, wget command is missed"
epm assure wget
||
fatal
"Can't download, wget command is missed"
local
NAME
=
"
$(
basename
"
$1
"
)
"
# TODO
...
...
@@ -21,6 +22,7 @@ download_url()
rm
-f
"
$NAME
"
# NOTE: disable cert checking
# use wget with try=1 and timeout = 30 sec
a
=
wget
--no-check-certificate
--unlink
-c
-t
1
-T
30
"
$1
"
-O
"
$NAME
"
return
}
...
...
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