Quote layout_dir during script write

Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
This commit is contained in:
Bryan Bennett 2023-11-01 09:25:35 -04:00 committed by GitHub
parent 4bf5d40290
commit da6f18f71b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,7 +62,7 @@ touch "$PWD/.envrc"
# Also update the timestamp of whatever profile_rc we have.
# This makes sure that we know we are up to date.
touch -r "$PWD/.envrc" ${layout_dir}/*.rc
touch -r "$PWD/.envrc" "${layout_dir}"/*.rc
EOF
if [[ ! -x "${layout_dir}/bin/nix-direnv-reload" ]]; then