aboutsummaryrefslogtreecommitdiff
path: root/m4/pgsql.m4
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-11-28 16:15:03 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-11-28 16:28:01 +0200
commit140476391c2dd2982a0b0560e5960de8b7231fb1 (patch)
treefdd01637d40c8fd8e2fe60ffd789493705123f0a /m4/pgsql.m4
parent00a3409902646f8c8576ec06eb26243c9cf629f1 (diff)
Clear shell variables before appending
Diffstat (limited to 'm4/pgsql.m4')
-rw-r--r--m4/pgsql.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/m4/pgsql.m4 b/m4/pgsql.m4
index a75a95e..b38bf34 100644
--- a/m4/pgsql.m4
+++ b/m4/pgsql.m4
@@ -153,6 +153,8 @@ AC_CONFIG_COMMANDS([pgsql.options],
rm -f db.options
echo '#! /bin/sh' >db-driver
+ echo 'opt=' >>db-driver
+
if test x$pgsql_user_set = xyes; then
echo "--username '$pgsql_user'" >>db.options
echo 'opt="$opt --username='"$pgsql_user"'"' >>db-driver