ports/security/pass-otp/patches/patch-otp_bash

12 lines
396 B
Text

Index: otp.bash
--- otp.bash.orig
+++ otp.bash
@@ -135,7 +135,7 @@ otp_insert() {
check_sneaky_paths "$path"
set_git "$passfile"
- mkdir -p -v "$PREFIX/$(dirname "$path")"
+ mkdir -p "$PREFIX/$(dirname "$path")"
set_gpg_recipients "$(dirname "$path")"
echo "$contents" | $GPG -e "${GPG_RECIPIENT_ARGS[@]}" -o "$passfile" "${GPG_OPTS[@]}" || die "OTP secret encryption aborted."