aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Lobodzinski <mark@lunarg.com>2018-03-27 15:31:16 -0600
committerMark Lobodzinski <mark@lunarg.com>2018-03-28 11:51:30 -0600
commitd684b8d9caf4dc9d97db16eee1bb15cdf7a7d1a2 (patch)
tree3739d58b4a419b484c2d66b9744c6b83953fb480
parentbf295516fdcce72611adb96c780b1c32675e7cc4 (diff)
downloadusermoji-d684b8d9caf4dc9d97db16eee1bb15cdf7a7d1a2.tar.xz
build: Add submodule init to update externals scripts
Change-Id: I78e35a0daaa5a62e432858861378543d412a77c7
-rw-r--r--update_external_sources.bat2
-rwxr-xr-xupdate_external_sources.sh2
2 files changed, 4 insertions, 0 deletions
diff --git a/update_external_sources.bat b/update_external_sources.bat
index d4ac865a..63718dd7 100644
--- a/update_external_sources.bat
+++ b/update_external_sources.bat
@@ -21,6 +21,8 @@ set do_64=0
set do_debug=0
set do_release=0
+git submodule update --init --recursive
+
REM // ======== Parameter parsing ======== //
set arg-use-implicit-component-list=1
diff --git a/update_external_sources.sh b/update_external_sources.sh
index 374d6329..9676e0d8 100755
--- a/update_external_sources.sh
+++ b/update_external_sources.sh
@@ -15,6 +15,8 @@ echo CORE_COUNT=$CORE_COUNT
REVISION_DIR="$CURRENT_DIR/external_revisions"
+git submodule update --init --recursive
+
# Use tr -d to remove line endings
GLSLANG_GITURL=$(cat "${REVISION_DIR}/glslang_giturl" | tr -d "\n\r")
GLSLANG_REVISION=$(cat "${REVISION_DIR}/glslang_revision" | tr -d "\n\r")