1
0

contrib: add "set -e" to bash scripts where missing

This commit is contained in:
SomberNight
2025-08-25 12:22:37 +00:00
parent a8b86f2c72
commit d9480fe339
4 changed files with 7 additions and 0 deletions

View File

@@ -1,5 +1,7 @@
#!/bin/bash
set -e
here=$(dirname "$0")
if [ -z "$WIN_SIGNING_PASSWORD" ]; then
echo "password missing"

View File

@@ -1,5 +1,7 @@
#!/usr/bin/env bash
set -e
# Set a fixed umask as this leaks into docker containers
umask 0022

View File

@@ -1,6 +1,8 @@
#!/bin/bash
# Generates the file paymentrequest_pb2.py
set -e
CONTRIB="$(dirname "$(readlink -e "$0")")"
EL="$CONTRIB"/../electrum

View File

@@ -1,6 +1,7 @@
#!/usr/bin/env bash
# from https://github.com/metabrainz/picard/blob/e1354632d2db305b7a7624282701d34d73afa225/scripts/package/macos-notarize-app.sh
set -e
if [ -z "$1" ]; then
echo "Specify app bundle as first parameter"