]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Make sure submodules are intiialized on the first build...
authorMichael Sweet <msweet@msweet-imac.local>
Thu, 17 Mar 2016 14:43:45 +0000 (10:43 -0400)
committerMichael Sweet <msweet@msweet-imac.local>
Thu, 17 Mar 2016 14:43:45 +0000 (10:43 -0400)
build.sh

index 0c1dd6e0af3a9c23d18913e1cf0c7a334799b87b..a02b839bbe2507238f8fda4b01cf2fca2a4c0174 100755 (executable)
--- 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