Browse Source

Fix quoted arguments in bin helper scripts (#864)

update-btcpay
Michael 4 years ago
committed by GitHub
parent
commit
973ec56f98
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      bin/bitcoin-cli
  2. 2
      bin/lncli

2
bin/bitcoin-cli

@ -7,7 +7,7 @@ UMBREL_ROOT="$(readlink -f $(dirname "${BASH_SOURCE[0]}")/..)"
result=$(docker-compose \
--file "${UMBREL_ROOT}/docker-compose.yml" \
--env-file "${UMBREL_ROOT}/.env" \
exec bitcoin bitcoin-cli $@)
exec bitcoin bitcoin-cli "$@")
# We need to echo with quotes to preserve output formatting
echo "$result"

2
bin/lncli

@ -7,7 +7,7 @@ UMBREL_ROOT="$(readlink -f $(dirname "${BASH_SOURCE[0]}")/..)"
result=$(docker-compose \
--file "${UMBREL_ROOT}/docker-compose.yml" \
--env-file "${UMBREL_ROOT}/.env" \
exec lnd lncli $@)
exec lnd lncli "$@")
# We need to echo with quotes to preserve output formatting
echo "$result"

Loading…
Cancel
Save