diff options
author | Jim Meyering <jim@meyering.net> | 2009-11-20 14:30:57 +0100 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2009-11-20 14:11:08 +0000 |
commit | 1b4bab6db252abcc3daab11159b0e45862c10b4c (patch) | |
tree | 7e82fc8666995667c0d5778468595e73d8c618c0 | |
parent | a84dee0f8df3c5d6ef3ecd5423f6bed3086419ac (diff) | |
download | libguestfs-1b4bab6db252abcc3daab11159b0e45862c10b4c.tar.gz libguestfs-1b4bab6db252abcc3daab11159b0e45862c10b4c.tar.xz libguestfs-1b4bab6db252abcc3daab11159b0e45862c10b4c.zip |
build: make autogen.sh update .git-module-status, as it should
I ran autogen.sh, but then make was always failing like this:
$ make
cfg.mk:141: *** gnulib update required; run ./autogen.sh first. Stop.
Here's the fix:
>From f743f32079fea2e8a17c7f5b59305e584c75dba0 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@redhat.com>
Date: Fri, 20 Nov 2009 14:29:55 +0100
Subject: [PATCH libguestfs] build: make autogen.sh update .git-module-status, as it should
* autogen.sh: Without this, "make" would always say "gnulib update
required; run ./autogen.sh first", even after you'd run autogen.sh
successfully.
-rwxr-xr-x | autogen.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |