]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Use --recursive pull to pick up changes from upstream.
authorMichael Sweet <msweet@msweet-imac.local>
Thu, 17 Mar 2016 14:34:53 +0000 (10:34 -0400)
committerMichael Sweet <msweet@msweet-imac.local>
Thu, 17 Mar 2016 14:34:53 +0000 (10:34 -0400)
build.sh

index 15ab96da212e5804dd4931d28c59b12dc3e6aabd..0c1dd6e0af3a9c23d18913e1cf0c7a334799b87b 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -105,7 +105,7 @@ echo "Starting build of '$targets' on `date`"
 
 if test -f git.log; then
        # Show Subversion updates...
-       echo git pull; git submodule update stable; git submodule update development
+       echo git pull --recurse-submodules; git submodule update --recursive
        cat git.log
        git status | $grep modified: >git.log
        if test -s git.log; then
@@ -121,7 +121,7 @@ fi
 # Update and then build safely...
 if test $update = yes; then
        cd $BASEDIR
-       (git pull; git submodule update stable; git submodule update development) 2>&1 >git.log
+       (git pull --recurse-submodules; git submodule update --recursive) 2>&1 >git.log
 
        # Need to exec since this script might change...
        options=""