From: Michael Sweet Date: Thu, 17 Mar 2016 14:43:45 +0000 (-0400) Subject: Make sure submodules are intiialized on the first build... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce6379738af9596e07a76d4b3fb4c22483e41ad7;p=thirdparty%2Fcups.git Make sure submodules are intiialized on the first build... --- diff --git a/build.sh b/build.sh index 0c1dd6e0af..a02b839bbe 100755 --- a/build.sh +++ b/build.sh @@ -135,6 +135,13 @@ if test $update = yes; then exec ./build.sh $options $targets fi +# Make sure submodules are initialized... +if test ! -f stable/Makedefs.in; then + echo Initializing submodules... + git submodule init + git submodule update +fi + # Look for changes to the dependent projects changed=0