mirror of https://github.com/BOINC/boinc.git
12 lines
361 B
Tcsh
Executable File
12 lines
361 B
Tcsh
Executable File
#! /bin/tcsh
|
|
|
|
sed -e s/BOINC_DB_NAME/$BOINC_DB_NAME/g drop.sql > drop_temp.sql
|
|
sed -e s/BOINC_DB_NAME/$BOINC_DB_NAME/g schema.sql > schema_temp.sql
|
|
sed -e s/BOINC_DB_NAME/$BOINC_DB_NAME/g constraints.sql > constraints_temp.sql
|
|
|
|
mysql < drop_temp.sql
|
|
mysql < schema_temp.sql
|
|
mysql < constraints_temp.sql
|
|
|
|
rm -f drop_temp.sql schema_temp.sql constraints_temp.sql
|