aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-07-25 21:54:11 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-07-25 21:54:11 +0200
commit1d544ec12052857e70c30bb1e782df37e9ada296 (patch)
tree2dfe1a7c26cf93f476d48ba2dcdd3f5f583d0553
parentb335a0dbaee48226f8aa717eafdb8c118dc13776 (diff)
Export variable separately to be compatible with POSIX shell1.5.0
-rw-r--r--m4/pgsql.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/m4/pgsql.m4 b/m4/pgsql.m4
index ab580e2..a75a95e 100644
--- a/m4/pgsql.m4
+++ b/m4/pgsql.m4
@@ -174,7 +174,8 @@ AC_CONFIG_COMMANDS([pgsql.options],
fi
echo 'opt="$opt --quiet"' >>db-driver
- echo 'export PGOPTIONS=--client-min-messages=warning' >>db-driver
+ echo 'PGOPTIONS=--client-min-messages=warning' >>db-driver
+ echo 'export PGOPTIONS' >>db-driver
echo 'if test x$[]1 != x; then' >>db-driver
echo " exec $pgsql_client "'$opt <$[]1' >>db-driver