pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Avoid unportable shell syntax in pg_upgrade's test script.
Date: Fri, 20 Jul 2018 17:59:45 +0000
Message-ID: <E1fgZgv-0007yZ-EJ@gemulon.postgresql.org> (raw)

Avoid unportable shell syntax in pg_upgrade's test script.

Most of test.sh uses traditional backtick syntax for command substitution,
but commit da9b580d8 introduced two uses of $(...) syntax, which is not
recognized by very old shells.  Bring those into line with the rest.

Victor Wagner

Discussion: https://postgr.es/m/20180720153820.69e9ae6c@fafnir.local.vm

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/986127e3db6858c461dae00f23c1fbaf9302d8cb

Modified Files
--------------
src/bin/pg_upgrade/test.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)



view thread (2+ messages)  latest in thread

Message-ID: <E1fgZgv-0007yZ-EJ@gemulon.postgresql.org>
Permalink:  ../E1fgZgv-0007yZ-EJ@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1fgZgv-0007yZ-EJ@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Avoid unportable shell syntax in pg_upgrade's test script.
  In-Reply-To: <E1fgZgv-0007yZ-EJ@gemulon.postgresql.org>
  References: <E1fgZgv-0007yZ-EJ@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox