[Libreoffice-commits] .: oowintool

Fridrich Strba fridrich at kemper.freedesktop.org
Sat Oct 16 14:13:31 PDT 2010


 oowintool |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 070c9fc93f756a045f07f3a87d252876e29fad46
Author: Jesús Corrius <jesus at softcatala.org>
Date:   Fri Oct 15 23:47:37 2010 +0200

    Don't show a perl error when .NET SDK is not found

diff --git a/oowintool b/oowintool
index 890114a..c9e0810 100755
--- a/oowintool
+++ b/oowintool
@@ -275,7 +275,9 @@ sub print_dotnetsdk_dir()
     my $dir = 
           reg_get_value ("HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/.NETFramework/sdkInstallRootv1.1") ||
           reg_get_value ("HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/.NETFramework/sdkInstallRootv2.0");
-    print cygpath ($dir, 'w', $output_format);
+    if ($dir) {
+      print cygpath ($dir, 'w', $output_format);
+    }
 }
 
 sub print_jdk_dir()


More information about the Libreoffice-commits mailing list