1
0
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:
mateon1
2017-02-16 14:03:40 +01:00
parent 6b07815899
commit 4ae80d6933

View File

@ -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