X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=autogen.sh;h=166ca56e3f10c8ea6a4fc5129b25dd2c7634bcde;hb=b854ff35a3c8e077e7c021aca3a604f11123d101;hp=b31ec7bfef954aa841bb37f213a08938cdd19703;hpb=825d855b225c7c76371c72eae4d505a32c374007;p=libguestfs.git diff --git a/autogen.sh b/autogen.sh index b31ec7b..166ca56 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) +t=$(git submodule status|sed 's/^[ -]//;s/ .*//') if test "$t" = "$(cat $curr_status 2>/dev/null)"; then : # good, it's up to date else