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
etersoft
eepm
Commits
8f3be1b8
Commit
8f3be1b8
authored
Dec 09, 2024
by
Boris Yumankulov
Committed by
Vitaly Lipatov
Dec 10, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eget: added --output-dir option (eterbug #17899)
parent
62e4de71
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
tools_eget
bin/tools_eget
+9
-0
No files found.
bin/tools_eget
View file @
8f3be1b8
...
...
@@ -322,6 +322,8 @@ AXELNAMEOPTIONS=''
WGETRUSTSERVERNAMES
=
''
CURLTRUSTSERVERNAMES
=
''
CURLOUTPUTDIR
=
''
WGETOUTPUTDIR
=
''
WGETNODIRECTORIES
=
''
WGETCONTINUE
=
''
CURLCONTINUE
=
''
...
...
@@ -376,6 +378,8 @@ Options:
-6|--ipv6|--inet6-only - use only IPV6
-O-|-O - - output downloaded file to stdout
-O file - download to this file
-P|--output-dir - download to this directory
-nd|--no-directories - do not create a hierarchy of directories when retrieving recursively
-c|--continue - continue getting a partially-downloaded file
-T|--timeout=N - set the network timeout to N seconds
...
...
@@ -452,6 +456,11 @@ while [ -n "$1" ] ; do
CURLHEADER
=
"--header
$argvalue
"
AXELHEADER
=
"--header=
$argvalue
"
;;
-P
|
--output-dir
)
shift
CURLOUTPUTDIR
=
"--create-dirs --output-dir
$1
"
WGETOUTPUTDIR
=
"-P
$1
"
;;
-U
|
-A
|
--user-agent
)
user_agent
=
"Mozilla/5.0 (X11; Linux
$arch
) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"
WGETUSERAGENT
=
"-U '
$user_agent
'"
...
...
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