Queer European MD passionate about IT
Sfoglia il codice sorgente

Bug in installation script fixed

Davte 3 anni fa
parent
commit
0153290272
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3 3
      install.sh

+ 3 - 3
install.sh

@@ -7,10 +7,10 @@ configuration_file="$this_script_directory/my_config.sh";
 passwords_file="$this_script_directory/ciclopibot/data/passwords.py";
 
 # Create intermediate path for passwords_file, if it does not exist
-mkdir -r "$this_script_directory/ciclopibot/data/";
+mkdir -p "$this_script_directory/ciclopibot/data/";
 
-read -r "Enter a name for your virtual environment
-           " venv_name;
+echo "Enter a name for your virtual environment";
+read venv_name;
 python3 -m venv "$venv_name";
 "$venv_name"/bin/pip install -r "$this_script_directory/requirements.txt";