diff mbox

configure script bug..

Message ID 4A23E73A.9020105@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

john cooper June 1, 2009, 2:35 p.m. UTC
Avi Kivity wrote:
> john cooper wrote:
>> Hit this yesterday when configure hung attempting
>> to pull the version from a kernel's ".config".
>>
>>   
> 
> Looks right, but missing a signoff.


Signed-off-by: john cooper <john.cooper@redhat.com>

Comments

Avi Kivity June 1, 2009, 2:47 p.m. UTC | #1
john cooper wrote:
> Avi Kivity wrote:
>   
>> john cooper wrote:
>>     
>>> Hit this yesterday when configure hung attempting
>>> to pull the version from a kernel's ".config".
>>>
>>>   
>>>       
>> Looks right, but missing a signoff.
>>     
>
>
> Signed-off-by: john cooper <john.cooper@redhat.com>
>
> 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
>   

What repo and branch are you looking at exactly?  my ./configure has 
this backslash.
diff mbox

Patch

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