diff options
author | Constantin Michael <constantin@codesynthesis.com> | 2011-07-13 09:59:48 +0200 |
---|---|---|
committer | Constantin Michael <constantin@codesynthesis.com> | 2011-07-13 09:59:48 +0200 |
commit | 02608da1f2c313cf02eae3d589aa229b076caecd (patch) | |
tree | ca7fb74f74cd9308b908d81a6cd2eb4bba14eece | |
parent | 17ef17f80abf35c63add4152a3e9e067fffa40b7 (diff) |
Correct configuration script
-rwxr-xr-x | build/pgsql/configure | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/build/pgsql/configure b/build/pgsql/configure index 31edb53..11f419e 100755 --- a/build/pgsql/configure +++ b/build/pgsql/configure @@ -32,9 +32,8 @@ db=`read_value "odb_test"` $echo $echo "Please enter the PostgreSQL database host. Leaving this field" -$echo "results in connecting to a Unix-domain socket using the server's" -$echo "default location, usually /tmp. Machines without Unix-domain" -$echo "sockets will connect to localhost." +$echo "blank results in using Unix-domain socket. Machines without" +$echo "Unix-domain sockets will connect to localhost." host=`read_value ""` @@ -49,9 +48,9 @@ opt=$dcf_root/db.options drv=$dcf_root/db-driver echo "--user '$user'" >$opt -echo "--dbname '$db'" >>$opt +echo "--database '$db'" >>$opt echo "--host '$host'" >>$opt -echo "--port $port" >>$opt +echo "--port '$port'" >>$opt echo "#!/bin/sh" >$drv echo "opt=\`cat $opt\`" >>$drv |