Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
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
Nurlan
eepm
Commits
1015878c
Commit
1015878c
authored
2 years ago
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eget: clean warnings
parent
11cb03de
master
3.32.0
3.29.0
3.28.5
3.27.0
3.26.10
3.23.0
3.22.3
3.22.2
3.22.1
3.21.8
3.19.4
3.18.6
No related merge requests found
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
tools_eget
bin/tools_eget
+6
-6
No files found.
bin/tools_eget
View file @
1015878c
...
...
@@ -111,8 +111,8 @@ WGETUSERAGENT=''
CURLUSERAGENT
=
''
WGETQ
=
''
#-q
CURLQ
=
''
#-s
WGETOPTIONS
=
'--content-disposition'
CURLOPTIONS
=
'--remote-name --remote-header-name'
WGET
NAME
OPTIONS
=
'--content-disposition'
CURL
NAME
OPTIONS
=
'--remote-name --remote-header-name'
set_quiet
()
{
...
...
@@ -162,13 +162,13 @@ scat()
sget
()
{
if
[
-n
"
$2
"
]
;
then
docmd __wget
$WGETOPTIONS
-O
"
$2
"
"
$1
"
docmd __wget
-O
"
$2
"
"
$1
"
else
# TODO: поддержка rsync для известных хостов?
# Не качать, если одинаковый размер и дата
# -nc
# TODO: overwrite always
docmd __wget
$WGETOPTIONS
"
$1
"
docmd __wget
$WGET
NAME
OPTIONS
"
$1
"
fi
}
...
...
@@ -192,9 +192,9 @@ scat()
sget
()
{
if
[
-n
"
$2
"
]
;
then
__curl
$CURLOPTIONS
--output
"
$2
"
"
$1
"
__curl
--output
"
$2
"
"
$1
"
else
__curl
$CURL
OPTIONS
-O
"
$1
"
__curl
$CURL
NAMEOPTIONS
"
$1
"
fi
}
fi
...
...
This diff is collapsed.
Click to expand it.
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