X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=autogen.sh;h=6e89c842b86afb1935aae7e22af8f24963de6612;hb=4d2f1632ad655130fafab3bf7fe8fa5cb59705d8;hp=cbb6da895444ec45f917475408fc1bf8c7ffda93;hpb=1b4bab6db252abcc3daab11159b0e45862c10b4c;p=libguestfs.git diff --git a/autogen.sh b/autogen.sh index cbb6da8..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