mirror of
https://github.com/nix-community/nix-direnv.git
synced 2025-11-08 19:46:11 +01:00
Quote layout_dir during script write
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
This commit is contained in:
parent
4bf5d40290
commit
da6f18f71b
1 changed files with 1 additions and 1 deletions
2
direnvrc
2
direnvrc
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue