summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas NOEL <tnoel@entrouvert.com>2020-03-27 09:10:45 (GMT)
committerThomas NOEL <tnoel@entrouvert.com>2020-03-27 09:10:45 (GMT)
commita324be1c44087fe4353c67921703121215ff6fbc (patch)
tree92baf392dd924f64dbcfdee4d39212bb565f93f8
parentc752d85dae0d24181da99846f034376752d165a4 (diff)
downloadpublik-client-scripts-a324be1c44087fe4353c67921703121215ff6fbc.zip
publik-client-scripts-a324be1c44087fe4353c67921703121215ff6fbc.tar.gz
publik-client-scripts-a324be1c44087fe4353c67921703121215ff6fbc.tar.bz2
montpellier/pg_copy_bijoe_schemas: remove bashism (#41032)v1.15
-rwxr-xr-xclients/montpellier/pg_copy_bijoe_schemas.task2
1 files changed, 1 insertions, 1 deletions
diff --git a/clients/montpellier/pg_copy_bijoe_schemas.task b/clients/montpellier/pg_copy_bijoe_schemas.task
index 1c1ae20..d20be0b 100755
--- a/clients/montpellier/pg_copy_bijoe_schemas.task
+++ b/clients/montpellier/pg_copy_bijoe_schemas.task
@@ -1,4 +1,4 @@
#! /bin/sh
test $(echo 'database.node1.test.saas.entrouvert.org database.node2.test.saas.entrouvert.org database.node1.prod.saas.entrouvert.org database.node2.prod.saas.entrouvert.org' | xargs -n1 echo | grep -w `hostname -f`) || exit
-test "$(psql -tAc 'SELECT pg_is_in_recovery();')" == 'f' && /usr/lib/publik/clients/montpellier/pg_copy_bijoe_schemas
+test "$(psql -tAc 'SELECT pg_is_in_recovery();')" = 'f' && /usr/lib/publik/clients/montpellier/pg_copy_bijoe_schemas