[Libreoffice-commits] .: solenv/bin

Jan Holesovsky kendy at kemper.freedesktop.org
Wed Jul 25 05:10:59 PDT 2012


 solenv/bin/modules/installer/windows/msiglobal.pm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8429bd67715a33751f4cfd50cb4be0346d78ee65
Author: Jan Holesovsky <kendy at suse.cz>
Date:   Wed Jul 25 14:04:04 2012 +0200

    Make the relativisation of the path working even on Linux.
    
    Change-Id: Ib5e617d83d12c9c1faefee7f4a768e1eb1ffc492

diff --git a/solenv/bin/modules/installer/windows/msiglobal.pm b/solenv/bin/modules/installer/windows/msiglobal.pm
index 946f816..30fe348 100644
--- a/solenv/bin/modules/installer/windows/msiglobal.pm
+++ b/solenv/bin/modules/installer/windows/msiglobal.pm
@@ -130,7 +130,7 @@ sub make_relative_ddf_path
     }
 
     $sourcepath =~ s/\Q$windowstemppath\E//;
-    $sourcepath =~ s/^\\//;
+    $sourcepath =~ s/^[\\\/]//;
 
     return $sourcepath;
 }


More information about the Libreoffice-commits mailing list