Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eget
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
eget
Commits
a01815f4
Commit
a01815f4
authored
Dec 09, 2025
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eget: add support --output-dir to wget
parent
0e15c5eb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
eget
eget
+3
-3
No files found.
eget
View file @
a01815f4
...
@@ -1090,9 +1090,9 @@ elif [ "$EGET_BACKEND" = "wget" ] ; then
...
@@ -1090,9 +1090,9 @@ elif [ "$EGET_BACKEND" = "wget" ] ; then
__wget
()
__wget
()
{
{
if
[
-n
"
$WGETUSERAGENT
"
]
;
then
if
[
-n
"
$WGETUSERAGENT
"
]
;
then
docmd
$WGET
$FORCEIPV
$WGETQ
$NOGLOB
$WGETCOMPRESSED
$WGETHEADER
$WGETNOSSLCHECK
$WGETNODIRECTORIES
$WGETCONTINUE
$WGETTIMEOUT
$WGETREADTIMEOUT
$WGETRETRYCONNREFUSED
$WGETTRIES
$WGETLOADCOOKIES
$WGETRUSTSERVERNAMES
"
$(
eval echo
"
$WGETUSERAGENT
"
)
"
"
$@
"
docmd
$WGET
$FORCEIPV
$WGETQ
$NOGLOB
$WGETCOMPRESSED
$WGETHEADER
$WGET
OUTPUTDIR
$WGET
NOSSLCHECK
$WGETNODIRECTORIES
$WGETCONTINUE
$WGETTIMEOUT
$WGETREADTIMEOUT
$WGETRETRYCONNREFUSED
$WGETTRIES
$WGETLOADCOOKIES
$WGETRUSTSERVERNAMES
"
$(
eval echo
"
$WGETUSERAGENT
"
)
"
"
$@
"
else
else
docmd
$WGET
$FORCEIPV
$WGETQ
$NOGLOB
$WGETCOMPRESSED
$WGETHEADER
$WGETNOSSLCHECK
$WGETNODIRECTORIES
$WGETCONTINUE
$WGETTIMEOUT
$WGETREADTIMEOUT
$WGETRETRYCONNREFUSED
$WGETTRIES
$WGETLOADCOOKIES
$WGETRUSTSERVERNAMES
"
$@
"
docmd
$WGET
$FORCEIPV
$WGETQ
$NOGLOB
$WGETCOMPRESSED
$WGETHEADER
$WGET
OUTPUTDIR
$WGET
NOSSLCHECK
$WGETNODIRECTORIES
$WGETCONTINUE
$WGETTIMEOUT
$WGETREADTIMEOUT
$WGETRETRYCONNREFUSED
$WGETTRIES
$WGETLOADCOOKIES
$WGETRUSTSERVERNAMES
"
$@
"
fi
fi
}
}
...
@@ -1144,7 +1144,7 @@ __curl()
...
@@ -1144,7 +1144,7 @@ __curl()
if
[
-n
"
$CURLUSERAGENT
"
]
;
then
if
[
-n
"
$CURLUSERAGENT
"
]
;
then
docmd
$CURL
$FORCEIPV
--fail
-L
$CURLQ
$CURLCOMPRESSED
$CURLHEADER
$CURLOUTPUTDIR
$CURLNOSSLCHECK
$CURLCONTINUE
$CURLMAXTIME
$CURLRETRYCONNREFUSED
$CURLRETRY
$CURLCOOKIE
$CURLTRUSTSERVERNAMES
"
$(
eval echo
"
$CURLUSERAGENT
"
)
"
"
$@
"
docmd
$CURL
$FORCEIPV
--fail
-L
$CURLQ
$CURLCOMPRESSED
$CURLHEADER
$CURLOUTPUTDIR
$CURLNOSSLCHECK
$CURLCONTINUE
$CURLMAXTIME
$CURLRETRYCONNREFUSED
$CURLRETRY
$CURLCOOKIE
$CURLTRUSTSERVERNAMES
"
$(
eval echo
"
$CURLUSERAGENT
"
)
"
"
$@
"
else
else
docmd
$CURL
$FORCEIPV
--fail
-L
$CURLQ
$CURLCOMPRESSED
$CURLHEADER
$CURLNOSSLCHECK
$CURLCONTINUE
$CURLMAXTIME
$CURLRETRYCONNREFUSED
$CURLRETRY
$CURLCOOKIE
$CURLTRUSTSERVERNAMES
"
$@
"
docmd
$CURL
$FORCEIPV
--fail
-L
$CURLQ
$CURLCOMPRESSED
$CURLHEADER
$CURL
OUTPUTDIR
$CURL
NOSSLCHECK
$CURLCONTINUE
$CURLMAXTIME
$CURLRETRYCONNREFUSED
$CURLRETRY
$CURLCOOKIE
$CURLTRUSTSERVERNAMES
"
$@
"
fi
fi
}
}
# put remote content to stdout
# put remote content to stdout
...
...
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