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
7c6318ac
Commit
7c6318ac
authored
Apr 10, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eget: fix cat files in ipfs mode
parent
63e8a85d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
tools_eget
bin/tools_eget
+7
-1
No files found.
bin/tools_eget
View file @
7c6318ac
...
@@ -987,7 +987,6 @@ sget()
...
@@ -987,7 +987,6 @@ sget()
{
{
local
URL
=
"
$1
"
local
URL
=
"
$1
"
local
TARGET
=
"
$2
"
local
TARGET
=
"
$2
"
[
"
$TARGET
"
=
"-"
]
&&
TARGET
=
"/dev/stdout"
if
[
-n
"
$GETFILENAME
"
]
;
then
if
[
-n
"
$GETFILENAME
"
]
;
then
get_filename
"
$URL
"
get_filename
"
$URL
"
...
@@ -1001,6 +1000,13 @@ sget()
...
@@ -1001,6 +1000,13 @@ sget()
exit
exit
fi
fi
# skip ipfs for cat
if
[
"
$TARGET
"
=
"/dev/stdout"
]
||
[
"
$TARGET
"
=
"-"
]
;
then
url_scat
"
$URL
"
return
fi
#if is_strange_url "$REALURL" ; then
#if is_strange_url "$REALURL" ; then
# info "Just download strange URL $REALURL, skipping IPFS"
# info "Just download strange URL $REALURL, skipping IPFS"
# url_sget "$REALURL" "$TARGET"
# url_sget "$REALURL" "$TARGET"
...
...
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