pashage

Yet Another Opinionated Re-engineering of the Unix Password Store
git clone https://git.instinctive.eu/pashage.git
Log | Files | Refs | README | LICENSE

commit 107da8936f54929adbdc1600d55aacb8b96aeb91
parent 19e55d90b75b3c0447086518d93907e192951b0b
Author: Natasha Kerensikova <natgh@instinctive.eu>
Date:   Tue, 29 Oct 2024 12:28:03 +0000

Cryptographic mocks use protected command dirname
Diffstat:
Mspec/support/bin/mock-age | 2+-
Mspec/support/bin/mock-gpg | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/spec/support/bin/mock-age b/spec/support/bin/mock-age @@ -10,7 +10,7 @@ die() { case "$1" in -e) shift - MOCK_AGE_OUT="$(@mktemp -- "$(dirname "$2")/mock-age-encrypt.XXXXXXX")" + MOCK_AGE_OUT="$(@mktemp -- "$(@dirname "$2")/mock-age-encrypt.XXXXXXX")" DEST='-' while [ $# -gt 0 ]; do case "$1" in diff --git a/spec/support/bin/mock-gpg b/spec/support/bin/mock-gpg @@ -16,7 +16,7 @@ check_eq() { case "$1" in -e) shift - MOCK_AGE_OUT="$(@mktemp -- "$(dirname "$2")/mock-gpg-encrypt.XXXXXXX")" + MOCK_AGE_OUT="$(@mktemp -- "$(@dirname "$2")/mock-gpg-encrypt.XXXXXXX")" DEST='-' while [ $# -gt 0 ]; do case "$1" in