small pixel drawing of a pufferfish pa

fix: Add mkdir -p to pw_edit function
Jonas Wagner (aider) ltlygwayh@gmail.com
Tue, 27 Aug 2024 23:03:27 +0200
commit

0f43243c2c25df10a305910645d77b59ec4541da

parent

a6434cafdd998c370e107081773ffbacd93140a0

1 files changed, 2 insertions(+), 0 deletions(-)

jump to
M papa

@@ -73,6 +73,8 @@

${EDITOR:-vi} "$tmpfile" [ -f "$tmpfile" ] && { + mkdir -p "$(dirname "./$name")" || + die "Couldn't create category '$(dirname "./$name" | cut -c3-)'" $age --encrypt -R "$recipients_file" -o "./$name.age" "$tmpfile" || die "Couldn't encrypt $name.age"