From: john cooper <john.cooper@redhat.com>
To: Avi Kivity <avi@redhat.com>
Cc: john.cooper@redhat.com, KVM list <kvm@vger.kernel.org>
Subject: configure script bug..
Date: Sat, 30 May 2009 10:50:31 -0400 [thread overview]
Message-ID: <4A2147B7.6050406@redhat.com> (raw)
Hit this yesterday when configure hung attempting
to pull the version from a kernel's ".config".
diff --git a/configure b/configure
index 493c178..1fd133c 100755
--- a/configure
+++ b/configure
@@ -126,7 +126,7 @@ if [ -n "$no_uname" ]; then
elif [ -e "$kerneldir/include/config/kernel.release" ]; then
depmod_version=`cat "$kerneldir/include/config/kernel.release"`
elif [ -e "$kerneldir/.config" ]; then
- depmod_version=$(awk '/Linux kernel version:/ { print $NF }'
+ depmod_version=$(awk '/Linux kernel version:/ { print $NF }' \
"$kerneldir/.config")
else
echo
--
john.cooper@redhat.com
next reply other threads:[~2009-05-30 14:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-30 14:50 john cooper [this message]
2009-05-31 8:11 ` configure script bug Avi Kivity
2009-06-01 14:35 ` john cooper
2009-06-01 14:47 ` Avi Kivity
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A2147B7.6050406@redhat.com \
--to=john.cooper@redhat.com \
--cc=avi@redhat.com \
--cc=kvm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox