mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
add quotes to set and use $environment_file
This commit is contained in:
parent
e97515d045
commit
10cfeb5ada
@ -97,12 +97,12 @@ source "$CONDA_BASEPATH/etc/profile.d/conda.sh" # otherwise conda complains abou
|
|||||||
conda activate
|
conda activate
|
||||||
|
|
||||||
if [ "$OS_NAME" == "mac" ]; then
|
if [ "$OS_NAME" == "mac" ]; then
|
||||||
environment_file=environment-mac.yml
|
environment_file="environment-mac.yml"
|
||||||
else
|
else
|
||||||
environment_file=environment.yml
|
environment_file="environment.yml"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
conda env update -f $environment_file
|
conda env update -f "${environment_file}"
|
||||||
|
|
||||||
status=$?
|
status=$?
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user