fixed DEPENDENCIES_DIR bug in tlibtoml.config
This commit is contained in:
parent
bdcc838bb8
commit
711cc70b68
@ -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"
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user