X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=autogen.sh;h=6e89c842b86afb1935aae7e22af8f24963de6612;hp=166ca56e3f10c8ea6a4fc5129b25dd2c7634bcde;hb=f323479760ab23755d6b4f27c236befb5a4d6111;hpb=e1b48287ebd6143ba516e427772dca04b4b8c75d diff --git a/autogen.sh b/autogen.sh index 166ca56..6e89c84 100755 --- a/autogen.sh +++ b/autogen.sh @@ -24,7 +24,7 @@ set -v # Ensure that whenever we pull in a gnulib update or otherwise change to a # different version (i.e., when switching branches), we also rerun ./bootstrap. curr_status=.git-module-status -t=$(git submodule status|sed 's/^[ -]//;s/ .*//') +t=$(git submodule status|sed 's/^[ +-]//;s/ .*//') if test "$t" = "$(cat $curr_status 2>/dev/null)"; then : # good, it's up to date else