Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed the language and variable refering to svn #3

Merged
merged 1 commit into from
Mar 1, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions bin/regen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
10 changes: 5 additions & 5 deletions bin/regen.sh.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions bin/setup.conf.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down