fix(build): sh-friendly syntax
This commit is contained in:
parent
ce63ef66dd
commit
d1ed5c48e8
|
@ -3,7 +3,7 @@
|
||||||
if [ -d onnx_env ];
|
if [ -d onnx_env ];
|
||||||
then
|
then
|
||||||
echo "Activating existing venv..."
|
echo "Activating existing venv..."
|
||||||
source onnx_env/bin/activate
|
. onnx_env/bin/activate
|
||||||
else
|
else
|
||||||
echo "Creating new venv..."
|
echo "Creating new venv..."
|
||||||
python3 -m venv onnx_env
|
python3 -m venv onnx_env
|
||||||
|
|
Loading…
Reference in New Issue