Re: [RTEVAL PATCH 2/3] Makefile: Use parentheses around print args

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Mon, 6 Apr 2020, Scott Wood wrote:

> Otherwise, this fails on python3.
> 
> Signed-off-by: Scott Wood <swood@xxxxxxxxxx>
> ---
>  Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Makefile b/Makefile
> index f91e6e06a9a4..479bda8d8674 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -5,7 +5,7 @@ else
>  	PYTHON = python2
>  endif
>  PACKAGE :=	rteval
> -VERSION :=      $(shell $(PYTHON) -c "from rteval import RTEVAL_VERSION; print RTEVAL_VERSION")
> +VERSION :=      $(shell $(PYTHON) -c "from rteval import RTEVAL_VERSION; print(RTEVAL_VERSION)")
>  D	:=	10
>  
>  # XML-RPC related files
> -- 
> 2.18.2
> 
> 

Tested by running the default target (runit)

Thanks for fixing

Signed-off-by: John Kacur <jkacur@xxxxxxxxxx>



[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux