mirror of
https://github.com/ipfs/kubo.git
synced 2025-07-02 03:28:25 +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"
|
||||
output="$2"
|
||||
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
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user