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
91fd76e6
Commit
91fd76e6
authored
3 months ago
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eget: fix bug with IPFS handling
parent
42f35945
master
devel
Tags unavailable
No related merge requests found
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
tools_eget
bin/tools_eget
+8
-6
No files found.
bin/tools_eget
View file @
91fd76e6
...
...
@@ -902,7 +902,6 @@ WGET="$(print_command_path wget)"
CURL
=
"
$(
print_command_path curl
)
"
ORIG_EGET_BACKEND
=
"
$EGET_BACKEND
"
EGET_BACKEND
=
"
$(
basename
"
$EGET_BACKEND
"
)
"
# override backend
if
is_fileurl
"
$1
"
;
then
...
...
@@ -911,19 +910,22 @@ elif is_ipfsurl "$1" ; then
EGET_BACKEND
=
"ipfs"
fi
case
"
$ORIG_EGET_BACKEND
"
in
orig_EGET_BACKEND
=
"
$EGET_BACKEND
"
EGET_BACKEND
=
"
$(
basename
"
$EGET_BACKEND
"
)
"
case
"
$orig_EGET_BACKEND
"
in
file|ipfs
)
;;
*
/wget
)
WGET
=
"
$
ORIG
_EGET_BACKEND
"
[
-x
"
$WGET
"
]
||
fatal
"There are no
$
ORIG
_EGET_BACKEND
in the system but you forced using it via EGET_BACKEND. Install it with
$
epm install wget"
WGET
=
"
$
orig
_EGET_BACKEND
"
[
-x
"
$WGET
"
]
||
fatal
"There are no
$
orig
_EGET_BACKEND
in the system but you forced using it via EGET_BACKEND. Install it with
$
epm install wget"
;;
wget
)
[
-n
"
$WGET
"
]
||
fatal
"There are no wget in the system but you forced using it via EGET_BACKEND. Install it with
$
epm install wget"
;;
*
/curl
)
CURL
=
"
$
ORIG
_EGET_BACKEND
"
[
-x
"
$CURL
"
]
||
fatal
"There are no
$
ORIG
_EGET_BACKEND
in the system but you forced using it via EGET_BACKEND. Install it with
$
epm install curl"
CURL
=
"
$
orig
_EGET_BACKEND
"
[
-x
"
$CURL
"
]
||
fatal
"There are no
$
orig
_EGET_BACKEND
in the system but you forced using it via EGET_BACKEND. Install it with
$
epm install curl"
;;
curl
)
[
-n
"
$CURL
"
]
||
fatal
"There are no curl in the system but you forced using it via EGET_BACKEND. Install it with
$
epm install curl"
...
...
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