fix: PRJ_ROOT correctly points to project root, not state dir

This commit is contained in:
technofab 2025-08-21 13:21:54 +02:00
parent 664c907ace
commit adcf269395
No known key found for this signature in database

View file

@ -142,7 +142,7 @@ __ren_init_project() {
# 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
__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"}
mkdir -p "${PRJ_CONFIG_HOME}"