mirror of
https://github.com/ipfs/kubo.git
synced 2025-07-03 04:37:30 +08:00
Use quotes to fix some shellcheck warnings
License: MIT Signed-off-by: Mateusz Naściszewski <matin1111@wp.pl>
This commit is contained in:
@ -17,9 +17,9 @@ try_download() {
|
|||||||
url="$1"
|
url="$1"
|
||||||
output="$2"
|
output="$2"
|
||||||
command="$3"
|
command="$3"
|
||||||
util_name=$(set -- $3; echo $1)
|
util_name="$(set -- $command; echo "$1")"
|
||||||
|
|
||||||
if ! have_binary $util_name; then
|
if ! have_binary "$util_name"; then
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user