117
132
chmod o-rwx $BASE/data $BASE/data/*
120
# Copy files if they exists, warn for those that don't
135
# Copy files if they exists, warn for those that don't.
136
# Note that when listing files to copy, we might list the file name
137
# twice, once in the directory location where it is build, and a
138
# second time in the ".libs" location. In the case the firs one
139
# is a wrapper script, the second one will overwrite it with the
253
274
mysql-test/valgrind.supp \
254
275
netware/mysql_test_run.nlm netware/install_test_db.ncf
256
$CP mysql-test/lib/*.pl $BASE/mysql-test/lib
257
$CP mysql-test/t/*.def $BASE/mysql-test/t
258
$CP mysql-test/include/*.inc $BASE/mysql-test/include
259
$CP mysql-test/include/*.test $BASE/mysql-test/include
260
$CP mysql-test/t/*.def $BASE/mysql-test/t
261
$CP mysql-test/std_data/*.dat mysql-test/std_data/*.frm \
277
MCP mysql-test/lib/*.pl $BASE/mysql-test/lib
278
MCP mysql-test/t/*.def $BASE/mysql-test/t
279
MCP mysql-test/include/*.inc $BASE/mysql-test/include
280
MCP mysql-test/include/*.test $BASE/mysql-test/include
281
MCP mysql-test/t/*.def $BASE/mysql-test/t
282
MCP mysql-test/std_data/*.dat mysql-test/std_data/*.frm \
262
283
mysql-test/std_data/*.MYD mysql-test/std_data/*.MYI \
263
284
mysql-test/std_data/*.pem mysql-test/std_data/Moscow_leap \
264
285
mysql-test/std_data/des_key_file mysql-test/std_data/*.*001 \
265
286
mysql-test/std_data/*.cnf mysql-test/std_data/*.MY* \
266
287
$BASE/mysql-test/std_data
267
$CP mysql-test/t/*.test $BASE/mysql-test/t
268
$CP mysql-test/t/*.imtest mysql-test/t/*.disabled $BASE/mysql-test/t
269
$CP mysql-test/t/*.opt mysql-test/t/*.slave-mi $BASE/mysql-test/t
270
$CP mysql-test/t/*.sh mysql-test/t/*.sql $BASE/mysql-test/t
271
$CP mysql-test/r/*.result $BASE/mysql-test/r
272
$CP mysql-test/r/*.require $BASE/mysql-test/r
273
$CP mysql-test/extra/binlog_tests/*.test $BASE/mysql-test/extra/binlog_tests
274
$CP mysql-test/extra/rpl_tests/*.test $BASE/mysql-test/extra/rpl_tests
288
MCP mysql-test/t/*.test $BASE/mysql-test/t
289
MCP mysql-test/t/*.imtest mysql-test/t/*.disabled $BASE/mysql-test/t
290
MCP mysql-test/t/*.opt mysql-test/t/*.slave-mi $BASE/mysql-test/t
291
MCP mysql-test/t/*.sh mysql-test/t/*.sql $BASE/mysql-test/t
292
MCP mysql-test/r/*.result $BASE/mysql-test/r
293
MCP mysql-test/r/*.require $BASE/mysql-test/r
294
MCP mysql-test/extra/binlog_tests/*.test $BASE/mysql-test/extra/binlog_tests
295
MCP mysql-test/extra/rpl_tests/*.test $BASE/mysql-test/extra/rpl_tests
276
297
if [ $BASE_SYSTEM != "netware" ] ; then
277
298
chmod a+x $BASE/bin/*
303
324
# Copy system dependent files
305
326
if [ $BASE_SYSTEM = "netware" ] ; then
306
echo "CREATE DATABASE mysql;" > $BASE/bin/init_db.sql
307
echo "CREATE DATABASE test;" >> $BASE/bin/init_db.sql
308
sh ./scripts/mysql_create_system_tables.sh real "" "%" 0 \
309
>> $BASE/bin/init_db.sql
310
sh ./scripts/mysql_create_system_tables.sh test "" "%" 0 \
311
> $BASE/bin/test_db.sql
312
327
./scripts/fill_help_tables < ./Docs/manual.texi >> ./netware/init_db.sql