public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* configure script bug..
@ 2009-05-30 14:50 john cooper
  2009-05-31  8:11 ` Avi Kivity
  0 siblings, 1 reply; 4+ messages in thread
From: john cooper @ 2009-05-30 14:50 UTC (permalink / raw)
  To: Avi Kivity; +Cc: john.cooper, KVM list

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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-06-01 14:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-30 14:50 configure script bug john cooper
2009-05-31  8:11 ` Avi Kivity
2009-06-01 14:35   ` john cooper
2009-06-01 14:47     ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox