[mythtv-commits] mythtv commit: r17032 by nigel

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Sun Apr 13 07:04:08 UTC 2008


      Author: nigel
        Date: 2008-04-13 07:04:08 +0000 (Sun, 13 Apr 2008)
New Revision: 17032
   Changeset: http://cvs.mythtv.org/trac/changeset/17032

Modified:

   trunk/mythtv/contrib/Win32/build/win32-packager.pl

Log:

Cope with spaces in copy pathnames. Prevent errors like:
{{{
file exists: c:/Program Files/MySql/MySql Server 5.0/bin/libmySQL.dll
no parameters defined, so applying effect(copy) as (2nd src parameter => 1st src parameter)!
copyng file (c:/Program Files/MySql/MySql Server 5.0/bin/libmySQL.dll => C:/MinGW/bin/libmySQL.dll)
perl2unix: c:/Program Files/MySql/MySql Server 5.0/bin/libmySQL.dll
perl2unix: C:/MinGW/bin/libmySQL.dll
shell:C:\MSys\1.0\bin\bah.exe -c "( export PATH=/bin:/mingw/bin:$PATH;touch --reference=/c/Program Files/MySQL/MySQL Server 5.0/bin/libmySQL.dll /C/MinGW/bin/libmySQL.dll) 2>&1 "
touch: failed to get attributes of '/c/Program': No such file or directory
}}}
It would probably be tidier to remove File::Copy and just do system('cp -p'),
but for now, I'll just add some quoting.





More information about the mythtv-commits mailing list