aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-07-25 21:54:12 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-07-25 21:54:12 +0200
commit7c492394108c5af6a29cd78aa5881b579d30a514 (patch)
treee804b4e98d639d8dd12374e5cf44069a21be5965
parent0c99ca62128b333b95a3e0289f94affaf6f499f6 (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