mirror of
https://gitlab.com/rensa-nix/direnv.git
synced 2025-12-12 01:50:04 +01:00
fix: PRJ_ROOT correctly points to project root, not state dir
This commit is contained in:
parent
664c907ace
commit
adcf269395
1 changed files with 1 additions and 1 deletions
2
direnvrc
2
direnvrc
|
|
@ -142,7 +142,7 @@ __ren_init_project() {
|
||||||
# we explicitly don't want any dirs to be in the project dir, put them all
|
# we explicitly don't want any dirs to be in the project dir, put them all
|
||||||
# in .ren, so they don't clutter everything up
|
# in .ren, so they don't clutter everything up
|
||||||
__ren_init_prj_spec() {
|
__ren_init_prj_spec() {
|
||||||
export PRJ_ROOT=${PRJ_ROOT:="${REN_STATE}"}
|
export PRJ_ROOT=${PRJ_ROOT:="${REN_ROOT}"}
|
||||||
|
|
||||||
export PRJ_CONFIG_HOME=${PRJ_CONFIG_HOME:="${REN_STATE}/config"}
|
export PRJ_CONFIG_HOME=${PRJ_CONFIG_HOME:="${REN_STATE}/config"}
|
||||||
mkdir -p "${PRJ_CONFIG_HOME}"
|
mkdir -p "${PRJ_CONFIG_HOME}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue