File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -61,13 +61,13 @@ create_update_env_file() {
6161
6262 local machine_learning_core_path=" ../machine_learning_core"
6363 echo -e " ${YELLOW} Enter CONDA_SH_PATH (press Enter for default):${NC} "
64- read -p " (default: $HOME /miniconda3/etc/profile.d/conda.sh): " conda_sh_path
65- conda_sh_path=${conda_sh_path:- $HOME / miniconda3/ etc/ profile.d/ conda.sh}
64+ read -p " (default: \ $ HOME/miniconda3/etc/profile.d/conda.sh): " conda_sh_path
65+ conda_sh_path=${conda_sh_path:- \ $ HOME/ miniconda3/ etc/ profile.d/ conda.sh}
6666
6767 if [[ $env_choice == " 2" ]]; then
6868 echo -e " ${YELLOW} Enter the MACHINE_LEARNING_CORE_PATH for VM (absolute path):${NC} "
69- read -p " (e.g., $HOME /machine_learning_core on VM): " machine_learning_core_vm_path
70- machine_learning_core_path=" $ machine_learning_core_vm_path"
69+ read -p " (e.g., \ $ HOME/machine_learning_core on VM): " machine_learning_core_vm_path
70+ machine_learning_core_path=${ machine_learning_core_vm_path:- \$ HOME / machine_learning_core}
7171 fi
7272
7373 echo -e " ${YELLOW} Enter HUGGING_FACE_ACCESS_TOKEN:${NC} "
@@ -101,4 +101,4 @@ echo "1. Local"
101101echo " 2. VM"
102102read -p " Enter your choice (1/2): " env_choice
103103
104- create_update_env_file " $env_choice "
104+ create_update_env_file " $env_choice "
You can’t perform that action at this time.
0 commit comments