From ceadcac922fab424aad4ba5974a337f3fd6a3e74 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Fri, 23 Jan 2026 17:44:57 +0000 Subject: [PATCH] contrib: minor clean-up shell usage --- contrib/build-wine/unsign.sh | 4 ++-- contrib/release_www.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/build-wine/unsign.sh b/contrib/build-wine/unsign.sh index 3ec251696..f835467a5 100755 --- a/contrib/build-wine/unsign.sh +++ b/contrib/build-wine/unsign.sh @@ -22,9 +22,9 @@ version=$("$CONTRIB"/print_electrum_version.py) echo "Found $(ls dist/*.exe | wc -w) files to verify." -for mine in $(ls dist/*.exe); do +for mine in dist/*.exe; do echo "---------------" - f="$(basename $mine)" + f="$(basename "$mine")" if test -f "signed/$f"; then echo "Found file at signed/$f" else diff --git a/contrib/release_www.sh b/contrib/release_www.sh index 28c37324c..404bb215f 100755 --- a/contrib/release_www.sh +++ b/contrib/release_www.sh @@ -46,7 +46,7 @@ set -x info "updating www repo" ./contrib/make_download "$WWW_DIR" info "signing the version announcement file" -sig=$(./run_electrum -o signmessage $ELECTRUM_SIGNING_ADDRESS $VERSION -w $ELECTRUM_SIGNING_WALLET) +sig=$(./run_electrum -o signmessage "$ELECTRUM_SIGNING_ADDRESS" "$VERSION" -w "$ELECTRUM_SIGNING_WALLET") # note: the contents of "extradata" are currently not signed. We could add another field, extradata_sigs, # containing signature(s) for "extradata". extradata, being json, would have to be canonically # serialized before signing.