From c94db14da325e0a6b21442b80c2ff00048ef6e31 Mon Sep 17 00:00:00 2001 From: Nagy Karoly Gabriel Date: Sun, 3 Jun 2007 23:41:37 +0000 Subject: [PATCH] * fixed minor issues on sitebuilder.sh (typos) git-svn-id: svn+ssh://svn.opensde.net/home/users/karasz/x5/tardiba/trunk@53 471cc25b-571d-0410-8e29-1f4f9b506cef --- 99-final/sitebuilder.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/99-final/sitebuilder.sh b/99-final/sitebuilder.sh index 20ac902..29c4d49 100644 --- a/99-final/sitebuilder.sh +++ b/99-final/sitebuilder.sh @@ -31,8 +31,8 @@ if [ "$SITE_ROOT" ]; then sed -e "s,$db_to_replace,$SITE_DB,g" -i $DOC_ROOT/$SITE_ROOT/pages/dbconnection.php ip_to_replace=`grep '^\$host' $DOC_ROOT/$SITE_ROOT/pages/dbconnection.php | awk {'print $3'} | sed s,\",,g` sed -e "s,$ip_to_replace,$DB_IP,g" -i $DOC_ROOT/$SITE_ROOT/pages/dbconnection.php - port_to_replace=`grep '^\$dbname' $DOC_ROOT/$SITE_ROOT/pages/dbconnection.php | awk {'print $3'} | sed s,\",,g` - sed -e "s,$ip_to_replace,$DB_IP,g" -i $DOC_ROOT/$SITE_ROOT/pages/dbconnection.php + port_to_replace=`grep '^\$port' $DOC_ROOT/$SITE_ROOT/pages/dbconnection.php | awk {'print $3'} | sed s,\",,g` + sed -e "s,$port_to_replace,$DB_PORT,g" -i $DOC_ROOT/$SITE_ROOT/pages/dbconnection.php else exit 1; fi