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
2ca1dc66
Commit
2ca1dc66
authored
4 months ago
by
Boris Yumankulov
Committed by
Vitaly Lipatov
4 months ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eget: fix download name on using curl backend (eterbug #17899)
parent
8f3be1b8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
tools_eget
bin/tools_eget
+6
-1
No files found.
bin/tools_eget
View file @
2ca1dc66
...
@@ -1121,6 +1121,12 @@ url_sget()
...
@@ -1121,6 +1121,12 @@ url_sget()
return
return
fi
fi
local
FILENAME
=
$(
url_get_filename
"
$URL
"
)
if
[
-n
"
$FILENAME
"
]
;
then
download_with_mirroring __curl
"
$URL
"
--remote-time
--remote-header-name
--output
"
$FILENAME
"
return
fi
download_with_mirroring __curl
"
$URL
"
$CURLNAMEOPTIONS
download_with_mirroring __curl
"
$URL
"
$CURLNAMEOPTIONS
}
}
...
@@ -1616,4 +1622,3 @@ for fn in $(get_urls | filter_glob "$MASK" | filter_order) ; do
...
@@ -1616,4 +1622,3 @@ for fn in $(get_urls | filter_glob "$MASK" | filter_order) ; do
[
-n
"
$TARGETFILE
"
]
&&
[
"
$ERROR
"
=
"0"
]
&&
break
[
-n
"
$TARGETFILE
"
]
&&
[
"
$ERROR
"
=
"0"
]
&&
break
done
done
exit
$ERROR
exit
$ERROR
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