]> granicus.if.org Git - postgresql/commit
Avoid unportable shell syntax in pg_upgrade's test script.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 20 Jul 2018 17:59:27 +0000 (13:59 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 20 Jul 2018 17:59:27 +0000 (13:59 -0400)
commit986127e3db6858c461dae00f23c1fbaf9302d8cb
treed4f9c40d65965215f6058c6c0648456d9ae67c5f
parent8f6ce7fb090a674f18b72e89a2b868fe1343fe8f
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
src/bin/pg_upgrade/test.sh