passing down the db and cgi vars
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 25 Jul 2005 16:52:11 +0000 (16:52 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 25 Jul 2005 16:52:11 +0000 (16:52 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@1437 dcc99617-32d9-48b4-a31d-7c20da2025e4

config.sh
install.sh

index 6f2cb7a..2d5eebf 100755 (executable)
--- a/config.sh
+++ b/config.sh
@@ -153,6 +153,17 @@ function writeConfig {
        _write "EVERGREENDIR=\"Evergreen/\"";
 
 
+       _write "CGIDIR=\"$CGIDIR\"";
+
+       # db vars
+       _write "DBDRVR=\"$DBDRVR\"";
+       _write "DBHOST=\"$DBHOST\"";
+       _write "DBNAME=\"$DBNAME\"";
+       _write "DBUSER=\"$DBUSER\"";
+       _write "DBPW=\"$DBPW\"";
+
+
+
        # Now we'll write out the DB bootstrapping config
        CONFIG_FILE='Open-ILS/src/cgi-bin/setup.pl';
        rm -f "$CONFIG_FILE";
index e6bf5de..61ad884 100755 (executable)
@@ -128,7 +128,9 @@ function runInstall {
                        APACHE2_HEADERS=$APACHE2_HEADERS LIBXML2_HEADERS=$LIBXML2_HEADERS \
                        BINDIR=$BINDIR LIBDIR=$LIBDIR PERLDIR=$PERLDIR INCLUDEDIR=$INCLUDEDIR \
                        WEBDIR=$WEBDIR TEMPLATEDIR=$TEMPLATEDIR ETCDIR=$ETCDIR \
-                       OPENSRFDIR=$OPENSRFDIR OPENILSDIR=$OPENILSDIR EVERGREENDIR=$EVERGREENDIR";
+                       OPENSRFDIR=$OPENSRFDIR OPENILSDIR=$OPENILSDIR EVERGREENDIR=$EVERGREENDIR\
+                       CGIDIR=$CGIDIR DBDRVR=$DBDRVR DBHOST=$DBHOST DBNAME=$DBNAME DBUSER=$DBUSER DBPW=$DBPW";
+
 
                case "$target" in