Error out of configure script if submodules have not been checked out

This commit is contained in:
josh committed 2017-01-21 13:00:20 -05:00
1 parent bb8dc6a6a4
commit 3b1199fbdc
1 file changed
+6
Vendored
+6
View File
@@ -1,2 +1,8 @@
#!/bin/sh
if [ ! -e libs/glcxx/src ]; then
echo Warning: It appears that you have not checked out the submodules.
echo Please run \'git submodule update --init\' first.
exit 1
fi
exec ./waf configure "$@"