[Libreoffice-commits] .: oowintool

Eike Rathke erack at kemper.freedesktop.org
Wed May 23 02:20:47 PDT 2012


 oowintool |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 877c96a601e6e50d0c7a8f704d57baec22f089c5
Author: Eike Rathke <erack at redhat.com>
Date:   Wed May 23 11:20:15 2012 +0200

    copy msms only for ver 9.0, MSVC 2010 doesn't have them

diff --git a/oowintool b/oowintool
index 3b8d763..d311750 100755
--- a/oowintool
+++ b/oowintool
@@ -275,6 +275,9 @@ sub msvc_copy_msms($$)
     # $postfix is empty for x86, and '_x64' for x64
     my ($dest, $postfix) = @_;
 
+    my $ver = find_msvc();
+    (defined $ver && ($ver->{'ver'} eq '9.0')) || return;
+
     my $msm_path = (cygpath reg_get_value ("HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/VisualStudio/9.0/Setup/VS/MSMDir"), 'w', $output_format);
     defined $msm_path || die "MSMDir not found";
     foreach $fname ("Microsoft_VC90_CRT_x86$postfix.msm", "policy_9_0_Microsoft_VC90_CRT_x86$postfix.msm") {


More information about the Libreoffice-commits mailing list