From: <oh...@us...> - 2007-08-10 21:48:58
|
Update of /cvsroot/tikiwiki/tiki/db/convertscripts In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv9593/db/convertscripts Added Files: Tag: BRANCH-1-9 convertsqls.cmd Log Message: windows version of convert script --- NEW FILE: convertsqls.cmd --- @echo off rem $Header: /cvsroot/tikiwiki/tiki/db/convertscripts/Attic/convertsqls.cmd,v 1.1.2.1 2007/08/10 21:48:59 ohertel Exp $ rem Convertscript for Windows, required: unixutils (cp, rm, mv) and wget SET VERSION=1.9 SET TIKISERVER=localhost:9090 rem --- do not edit below this line cp ../tiki.sql ../tiki-%VERSION%-mysql.sql rem /* the scripts use mysql.sql */ wget -O pgsql72.sql.tmp "http://%TIKISERVER%/db/convertscripts/mysql3topgsql72.php?version=%VERSION%" wget -O sybase.sql.tmp "http://%TIKISERVER%/db/convertscripts/mysql3tosybase.php?version=%VERSION%" wget -O sqlite.sql.tmp "http://%TIKISERVER%/db/convertscripts/mysql3tosqlite.php?version=%VERSION%" wget -O oci8.sql.tmp "http://%TIKISERVER%/db/convertscripts/mysql3tooci8.php?version=%VERSION%" rm -f *.sql.tmp rm -f ../tiki-%VERSION%-pgsql.sql ../tiki-%VERSION%-sybase.sql ../tiki-%VERSION%-sqlite.sql ../tiki-%VERSION%-oci8.sql mv %VERSION%.to_pgsql72.sql ../tiki-%VERSION%-pgsql.sql mv %VERSION%.to_sybase.sql ../tiki-%VERSION%-sybase.sql mv %VERSION%.to_sqlite.sql ../tiki-%VERSION%-sqlite.sql mv %VERSION%.to_oci8.sql ../tiki-%VERSION%-oci8.sql echo Done. |