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:
parent
1c75c1c13a
commit
793c07f331
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue