From 711cc70b6870f6ab8904e49fbd66cacf5d426719 Mon Sep 17 00:00:00 2001 From: Timerix Date: Thu, 27 Nov 2025 01:25:35 +0500 Subject: [PATCH] fixed DEPENDENCIES_DIR bug in tlibtoml.config --- tlibtoml.config | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tlibtoml.config b/tlibtoml.config index db0830b..19ea58b 100644 --- a/tlibtoml.config +++ b/tlibtoml.config @@ -5,9 +5,12 @@ DEP_WORKING_DIR="$DEPENDENCIES_DIR/tlibtoml" +user_config_path="project.config.user" +absolute_dep_dir=$(realpath "$DEPENDENCIES_DIR") + function setup_user_config(){ - local user_config_path="project.config.user" - local absolute_dep_dir=$(realpath "$DEPENDENCIES_DIR") + # Set variable `DEPENDENCIES_DIR`` in `tlibtoml/project.config.user` + # to the directory where `tlibc`` is installed file_copy_default_if_not_present "$user_config_path" "$user_config_path.default" replace_var_value_in_script "$user_config_path" "DEPENDENCIES_DIR" "$absolute_dep_dir" }