Re: Small patch to fix build on Windows - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Small patch to fix build on Windows
Date
Msg-id 20190808170725.GA21041@alvherre.pgsql
Whole thread Raw
In response to Re: Small patch to fix build on Windows  (Dmitry Igrishin <dmitigr@gmail.com>)
Responses Re: Small patch to fix build on Windows
List pgsql-hackers
On 2019-Aug-08, Dmitry Igrishin wrote:

>          my $prefixcmd =
> -          $solution->{options}->{python} . "\\python -c \"$pythonprog\"";
> +          "\"$solution->{options}->{python}\\python\" -c \"$pythonprog\"";

I think you can make this prettier like this:

   my $prefixcmd = qq{"$solution->{options}->{python}\\python" -c "$pythonprog"};

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: POC: converting Lists into arrays
Next
From: Alvaro Herrera
Date:
Subject: Re: First draft of back-branch release notes is done