From b8b655063eef306107b3cd912acd6ec08f7c0fef Mon Sep 17 00:00:00 2001 From: Kurund Jalmi Date: Fri, 1 Mar 2013 17:14:47 +0530 Subject: [PATCH] fixed the language and variable refering to svn --- bin/regen.sh | 10 +++++----- bin/regen.sh.txt | 10 +++++----- bin/setup.conf.txt | 4 ++-- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/bin/regen.sh b/bin/regen.sh index b72cf580eb80..0ae005bdb31a 100755 --- a/bin/regen.sh +++ b/bin/regen.sh @@ -11,11 +11,11 @@ else fi pushd . -cd $SVNROOT +cd $CIVISOURCEDIR svn up . -cd $SVNROOT/bin +cd $CIVISOURCEDIR/bin ./setup.sh -cd $SVNROOT/sql +cd $CIVISOURCEDIR/sql echo; echo "Dropping civicrm_* tables from database $DBNAME" # mysqladmin -f -u $DBUSER $PASSWDSECTION $DBARGS drop $DBNAME @@ -38,12 +38,12 @@ mysql -u$DBUSER $PASSWDSECTION $DBARGS $DBNAME < zipcodes.mysql php GenerateData.php # run the cli script to build the menu and the triggers -cd $SVNROOT +cd $CIVISOURCEDIR "$PHP5PATH"php bin/cli.php -e System -a flush --triggers 1 --session 1 mysql -u$DBUSER $PASSWDSECTION $DBARGS $DBNAME -e "DROP TABLE zipcodes; UPDATE civicrm_domain SET config_backend = NULL; UPDATE civicrm_setting SET value = NULL WHERE name = 'userFrameworkResourceURL' OR name = 'imageUploadURL';" -cd $SVNROOT/sql +cd $CIVISOURCEDIR/sql mysqldump -cent --skip-triggers -u $DBUSER $PASSWDSECTION $DBARGS $DBNAME > civicrm_generated.mysql #cat civicrm_sample_report.mysql >> civicrm_generated.mysql cat civicrm_sample_custom_data.mysql >> civicrm_generated.mysql diff --git a/bin/regen.sh.txt b/bin/regen.sh.txt index b72cf580eb80..0ae005bdb31a 100755 --- a/bin/regen.sh.txt +++ b/bin/regen.sh.txt @@ -11,11 +11,11 @@ else fi pushd . -cd $SVNROOT +cd $CIVISOURCEDIR svn up . -cd $SVNROOT/bin +cd $CIVISOURCEDIR/bin ./setup.sh -cd $SVNROOT/sql +cd $CIVISOURCEDIR/sql echo; echo "Dropping civicrm_* tables from database $DBNAME" # mysqladmin -f -u $DBUSER $PASSWDSECTION $DBARGS drop $DBNAME @@ -38,12 +38,12 @@ mysql -u$DBUSER $PASSWDSECTION $DBARGS $DBNAME < zipcodes.mysql php GenerateData.php # run the cli script to build the menu and the triggers -cd $SVNROOT +cd $CIVISOURCEDIR "$PHP5PATH"php bin/cli.php -e System -a flush --triggers 1 --session 1 mysql -u$DBUSER $PASSWDSECTION $DBARGS $DBNAME -e "DROP TABLE zipcodes; UPDATE civicrm_domain SET config_backend = NULL; UPDATE civicrm_setting SET value = NULL WHERE name = 'userFrameworkResourceURL' OR name = 'imageUploadURL';" -cd $SVNROOT/sql +cd $CIVISOURCEDIR/sql mysqldump -cent --skip-triggers -u $DBUSER $PASSWDSECTION $DBARGS $DBNAME > civicrm_generated.mysql #cat civicrm_sample_report.mysql >> civicrm_generated.mysql cat civicrm_sample_custom_data.mysql >> civicrm_generated.mysql diff --git a/bin/setup.conf.txt b/bin/setup.conf.txt index 7eacc03c38fb..b9c8762f47aa 100644 --- a/bin/setup.conf.txt +++ b/bin/setup.conf.txt @@ -1,5 +1,5 @@ -# Define the root of your svn directory here -SVNROOT= +# Define the path for civicrm source directory here +CIVISOURCEDIR= # define your schema file name here, will be overriden by # FIRST command line argument if given