use basenames of scripts in die functions
arĉi arcxi@dismail.de
Sun, 28 Jul 2024 03:14:48 +0200
3 files changed,
3 insertions(+),
3 deletions(-)
M
contrib/pa-rekey
→
contrib/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-urn
→
contrib/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 }