contrib: add "set -e" to bash scripts where missing
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
here=$(dirname "$0")
|
here=$(dirname "$0")
|
||||||
if [ -z "$WIN_SIGNING_PASSWORD" ]; then
|
if [ -z "$WIN_SIGNING_PASSWORD" ]; then
|
||||||
echo "password missing"
|
echo "password missing"
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
# Set a fixed umask as this leaks into docker containers
|
# Set a fixed umask as this leaks into docker containers
|
||||||
umask 0022
|
umask 0022
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# Generates the file paymentrequest_pb2.py
|
# Generates the file paymentrequest_pb2.py
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
CONTRIB="$(dirname "$(readlink -e "$0")")"
|
CONTRIB="$(dirname "$(readlink -e "$0")")"
|
||||||
EL="$CONTRIB"/../electrum
|
EL="$CONTRIB"/../electrum
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# from https://github.com/metabrainz/picard/blob/e1354632d2db305b7a7624282701d34d73afa225/scripts/package/macos-notarize-app.sh
|
# from https://github.com/metabrainz/picard/blob/e1354632d2db305b7a7624282701d34d73afa225/scripts/package/macos-notarize-app.sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
if [ -z "$1" ]; then
|
if [ -z "$1" ]; then
|
||||||
echo "Specify app bundle as first parameter"
|
echo "Specify app bundle as first parameter"
|
||||||
|
|||||||
Reference in New Issue
Block a user