If submodule doesn't exist, initialize
This commit is contained in:
parent
849ae58f9b
commit
b5810f8ca5
|
@ -1,5 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ ! -d yolov5/.git ]; then
|
||||
git module update --init --recursive
|
||||
fi
|
||||
|
||||
cd yolov5
|
||||
python -m venv env
|
||||
source env/bin/activate
|
||||
|
|
Loading…
Reference in New Issue