To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=93065
                 Issue #|93065
                 Summary|extracting mergemodule cabinet
               Component|Installation
                 Version|OOO300m2
                Platform|PC
                     URL|
              OS/Version|Windows, all
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|is
             Reported by|tono





------- Additional comments from [EMAIL PROTECTED] Sun Aug 24 04:00:31 +0000 
2008 -------
After the integration of native180, 
solenv/bin/modules/installer/windows/meregemodule.pm uses Windows extract.exe 
to expand the cabinets but I am facing the following two problems.

1. cygwin expand.exe in coreutils blocks the Windows expand.exe in the PATH
2. As my temppath is cygwin mounted, Windows expand.exe cannot extract cabinet 
files into it even after I renamed /usr/bin/extract.exe.

Maybe we should call cygpath as follows.

--- ooo300_m2/solenv/bin/modules/installer/windows/mergemodule.pm.orig  2008-
08-08 04:26:22.000000000 +0900
+++ ooo300_m2/solenv/bin/modules/installer/windows/mergemodule.pm       2008-
08-24 11:44:16.668750000 +0900
@@ -1146,8 +1146,8 @@
 
                my $systemcall = "";
                if ( $^O =~ /cygwin/i ) {
-                       my $localunpackdir = $unpackdir;
-                       $localunpackdir =~ s/\//\\\\/g;
+                       my $localunpackdir = qx{cygpath -w "$unpackdir"};
+                       $localunpackdir =~ s/\\/\\\\/g;
                        $systemcall = $expandfile . " " . $cabfilename . " -
F:\\\* " . $localunpackdir;
                }
                else

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to