From 7c492394108c5af6a29cd78aa5881b579d30a514 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 25 Jul 2011 21:54:12 +0200 Subject: Export variable separately to be compatible with POSIX shell --- m4/pgsql.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.1