contrib: minor clean-up shell usage
This commit is contained in:
@@ -22,9 +22,9 @@ version=$("$CONTRIB"/print_electrum_version.py)
|
|||||||
|
|
||||||
echo "Found $(ls dist/*.exe | wc -w) files to verify."
|
echo "Found $(ls dist/*.exe | wc -w) files to verify."
|
||||||
|
|
||||||
for mine in $(ls dist/*.exe); do
|
for mine in dist/*.exe; do
|
||||||
echo "---------------"
|
echo "---------------"
|
||||||
f="$(basename $mine)"
|
f="$(basename "$mine")"
|
||||||
if test -f "signed/$f"; then
|
if test -f "signed/$f"; then
|
||||||
echo "Found file at signed/$f"
|
echo "Found file at signed/$f"
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ set -x
|
|||||||
info "updating www repo"
|
info "updating www repo"
|
||||||
./contrib/make_download "$WWW_DIR"
|
./contrib/make_download "$WWW_DIR"
|
||||||
info "signing the version announcement file"
|
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,
|
# 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
|
# containing signature(s) for "extradata". extradata, being json, would have to be canonically
|
||||||
# serialized before signing.
|
# serialized before signing.
|
||||||
|
|||||||
Reference in New Issue
Block a user