small pixel drawing of a pufferfish pa

strip out './' from category creation error message

because 'dirname --' is not POSIX compliant...
arĉi arcxi@dismail.de
Sat, 22 Jun 2024 20:57:57 +0200
commit

52d6b821b727ab60a3a6c239ff6f644ac6ac2e62

parent

a140e2d56fcdacda56b0277898780ae6080c9b26

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

jump to
M papa

@@ -28,7 +28,7 @@ die "Passwords do not match"

fi mkdir -p "$(dirname "./$name")" || - die "Couldn't create category '$(dirname "./$name")'" + die "Couldn't create category '$(dirname "./$name" | cut -c3-)'" # Use 'age' to store the password in an encrypted file. # A heredoc is used here instead of a 'printf' to avoid