small pixel drawing of a pufferfish pa

shellcheck
Jes Olson j3s@c3f.net
Thu, 29 Dec 2022 17:34:10 -0800
commit

80b8eb4298182d8424c4b6186486c36beafe37a7

parent

fea55bd7db80be398aab2e60b782c4e26f3b0f3a

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

jump to
M papa

@@ -59,10 +59,10 @@

mkdir "$tmpdir" || die "Couldn't create shared memory dir" - trap "rm -rf $tmpdir" EXIT + trap 'rm -rf $tmpdir' EXIT # Handle nested items (/foo/bar.age) - mkdir -p "$(dirname $tmpfile)" + mkdir -p "$(dirname "$tmpfile")" age --decrypt -i "$identities_file" -o "$tmpfile" "$name.age" || die "Couldn't decrypt $name.age"

@@ -202,7 +202,7 @@ die "Couldn't change to password directory"

# Move any passwords hanging out in the old dir # for backwards-compat reasons - mv $basedir/*.age "$PA_DIR" 2>/dev/null + mv "$basedir"/*.age "$PA_DIR" 2>/dev/null # Ensure that globbing is disabled # to avoid insecurities with word-splitting.