pgsql: Avoid unportable shell syntax in pg_upgrade's test script.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Avoid unportable shell syntax in pg_upgrade's test script.
Date: 2018-07-20 17:59:45
Message-ID: E1fgZgv-0007yZ-EJ@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2018-07-21 16:06:02 pgsql: Be more paranoid about quoting in pg_upgrade's test script.
Previous Message Dean Rasheed 2018-07-20 08:12:27 pgsql: Guard against rare RAND_bytes() failures in pg_strong_random().