small pixel drawing of a pufferfish pa

use basenames of scripts in die functions
arĉi arcxi@dismail.de
Sun, 28 Jul 2024 03:14:48 +0200
commit

a6434cafdd998c370e107081773ffbacd93140a0

parent

f879e491fc9aebbb861172273fa6dc960a7acf69

3 files changed, 3 insertions(+), 3 deletions(-)

jump to
M contrib/pa-rekeycontrib/pa-rekey

@@ -6,7 +6,7 @@ # Reuse identities file: export PA_IDENTITIES=~/.local/share/pa/identities

# Reuse recipients file: export PA_RECIPIENTS=~/.local/share/pa/recipients die() { - printf '%s: %s.\n' "$0" "$1" >&2 + printf '%s: %s.\n' "$(basename "$0")" "$1" >&2 exit 1 }
M contrib/pa-urncontrib/pa-urn

@@ -27,7 +27,7 @@ fi

} die() { - printf '%s: %s.\n' "$0" "$1" >&2 + printf '%s: %s.\n' "$(basename "$0")" "$1" >&2 exit 1 }
M papa

@@ -169,7 +169,7 @@ return 1

} die() { - printf '%s: %s.\n' "$0" "$1" >&2 + printf '%s: %s.\n' "$(basename "$0")" "$1" >&2 exit 1 }