From: Kurund Jalmi Date: Fri, 1 Mar 2013 11:44:47 +0000 (+0530) Subject: fixed the language and variable refering to svn X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=b8b655063eef306107b3cd912acd6ec08f7c0fef;p=civicrm-core.git fixed the language and variable refering to svn --- diff --git a/bin/regen.sh b/bin/regen.sh index b72cf580eb..0ae005bdb3 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 b72cf580eb..0ae005bdb3 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 7eacc03c38..b9c8762f47 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