change () to "" in .sh scripts because export AAA=(BBB CCC) sets AAA to BBB and does not export anything

whoever put that in .sh files - shame on you
This commit is contained in:
AUTOMATIC
2022-09-18 15:07:14 +03:00
parent 9e892d90ce
commit 7476593014
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ fi
# install command for torch
if [[ -z "${TORCH_COMMAND}" ]]
then
export TORCH_COMMAND=(python3 -m pip install torch==1.12.1+cu113 --extra-index-url https://download.pytorch.org/whl/cu113)
export TORCH_COMMAND="python3 -m pip install torch==1.12.1+cu113 --extra-index-url https://download.pytorch.org/whl/cu113"
fi
# Do not reinstall existing pip packages on Debian/Ubuntu