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