You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Matthias Buecher / Germany <ma...@go.to> on 2007/08/14 20:23:06 UTC
check-mime-type.pl on Windows
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello everybody,
I'm trying to use check-mime-type.pl on Windows.
The Pre-Commit batch file calls it the following way, which is working
fine:
REM *** Check MIME types
D:\Repositories\SVN\_Scripts\check-mime-type.pl %1 %2
if not errorlevel 1 then goto mime_ok
echo Mime error 1>&2
:mime_ok
In the Perl script I changed two lines to use my correct Windows pathes:
44: my $svnlook = "D:\\Programme\\Coding\\SubVersion\\bin\\svnlook.exe";
99: my $tmp_dir = 'D:\\TEMP\\SVN';
But when I submit anything, then I get the following message line:
Error: D:\Repositories\SVN\_Scripts\check-mime-type.pl:
`D:\Programme\Coding\SubVersion\bin\svnlook.exe changed
D:/Repositories/SVN/TestRepo -t 4-1' failed with no output.
I assume this is related to the "safe_read_from_pipe" function.
How I can make the script work on Windows too?
Any help is greatly appreciated.
Regards
Maddes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGwg8pUXXT+9wZdbURAtk/AJ9zyUsox5IDjcAQxn73y+Adq/Zv/QCgnKB1
FLPjbWB0XP6s2gN13MV9mu8=
=zy83
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org