Fixup: csources is empty after clone
We actually need to check for existence of csources/.git and then do git submodule update --init, which pulls the data for submodule.
This commit is contained in:
parent
a490e13342
commit
7e479993a4
1 changed files with 1 additions and 1 deletions
2
build.sh
2
build.sh
|
|
@ -2,7 +2,7 @@
|
||||||
set -e
|
set -e
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
if [ ! -d "csources" ]; then
|
if [ ! -e csources/.git ]; then
|
||||||
git submodule update --init --depth 1
|
git submodule update --init --depth 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue