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
f472ed7e
Commit
f472ed7e
authored
Apr 08, 2024
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm-download: replace spaces in downloaded filenames with -
parent
fde2ccad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
epm-download
bin/epm-download
+1
-1
No files found.
bin/epm-download
View file @
f472ed7e
...
@@ -86,7 +86,7 @@ __download_pkg_urls()
...
@@ -86,7 +86,7 @@ __download_pkg_urls()
[
"
$i
"
=
"*"
]
&&
warning
"Incorrect true status from eget. No saved files from download
$url
, ignoring"
&&
continue
[
"
$i
"
=
"*"
]
&&
warning
"Incorrect true status from eget. No saved files from download
$url
, ignoring"
&&
continue
[
-s
"
$tmppkg
/
$i
"
]
||
continue
[
-s
"
$tmppkg
/
$i
"
]
||
continue
chmod
$verbose
a+r
"
$tmppkg
/
$i
"
chmod
$verbose
a+r
"
$tmppkg
/
$i
"
local
si
=
"
$
{
i
/ /
}
"
local
si
=
"
$
(
echo
"
$i
"
|
sed
-e
's| |-|g'
)
"
if
[
"
$si
"
!=
"
$i
"
]
;
then
if
[
"
$si
"
!=
"
$i
"
]
;
then
info
"Space detected in the downloaded file '
$i
', removing spaces ..."
info
"Space detected in the downloaded file '
$i
', removing spaces ..."
mv
-v
"
$tmppkg
/
$i
"
"
$tmppkg
/
$si
"
mv
-v
"
$tmppkg
/
$i
"
"
$tmppkg
/
$si
"
...
...
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