]> 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 bc7224a27fe3fb1ce5fb2871a94d722b09fc8ea4..98ca0f2737abdb8aa10d3c4d14e169877c16babd 100755 (executable)
@@ -28,7 +28,7 @@ error() {
     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 $?
     ;;