]> 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:35 +0000 (13:59 -0400)
commite6105686dcfa5b3b0a3937f9b6c4d44a865adc17
tree5d786c31d9230abfa168bdfc663aa8e125cd891b
parent1f919e663ee20430dfde5614a025ac2dbd0f4bfb
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