]> git.proxmox.com Git - mirror_qemu.git/blobdiff - scripts/git-submodule.sh
migration/postcopy: break the loop when there is no more page to discard
[mirror_qemu.git] / scripts / git-submodule.sh
index 030617b4ac0cdf1b892981aa68b86213d997c158..98ca0f2737abdb8aa10d3c4d14e169877c16babd 100755 (executable)
@@ -24,11 +24,11 @@ error() {
     echo "Alternatively you may disable automatic GIT submodule checkout"
     echo "with:"
     echo
-    echo " $ ./configure --disable-git-update'"
+    echo " $ ./configure --disable-git-update"
     echo
     echo "and then manually update submodules prior to running make, with:"
     echo
-    echo " $ scripts/git-sbumodule.sh update $modules"
+    echo " $ scripts/git-submodule.sh update $modules"
     echo
     exit 1
 }
@@ -59,8 +59,8 @@ status)
     fi
 
     test -f "$substat" || exit 1
-    CURSTATUS=`$GIT submodule status $modules`
-    OLDSTATUS=`cat $substat`
+    CURSTATUS=$($GIT submodule status $modules)
+    OLDSTATUS=$(cat $substat)
     test "$CURSTATUS" = "$OLDSTATUS"
     exit $?
     ;;