1
0
Fork 0
mirror of https://github.com/Mic92/sops-nix.git synced 2024-12-14 11:57:52 +00:00

nix-darwin: fix shellcheck warning of activation script

This commit is contained in:
Jörg Thalheim 2024-11-17 14:36:17 +01:00 committed by Jörg Thalheim
parent 1c75c1c13a
commit 793c07f331

View file

@ -171,7 +171,7 @@ let
'' ''
if [[ ! -f ${escapedKeyFile} ]]; then if [[ ! -f ${escapedKeyFile} ]]; then
echo generating machine-specific age key... echo generating machine-specific age key...
mkdir -p $(dirname ${escapedKeyFile}) mkdir -p "$(dirname ${escapedKeyFile})"
# age-keygen sets 0600 by default, no need to chmod. # age-keygen sets 0600 by default, no need to chmod.
${pkgs.age}/bin/age-keygen -o ${escapedKeyFile} ${pkgs.age}/bin/age-keygen -o ${escapedKeyFile}
fi fi