Kaydet (Commit) 2901fec0 authored tarafından Robert Sedak's avatar Robert Sedak Kaydeden (comit) Andras Timar

Fixed localize jpropex launcher under Win32/Cygwin

üst 89e9bdb5
@echo off
if "x%SOLARENV%x" EQU "xx" (
echo No environment found, please use 'configure' or 'setsolar'
exit
)
if "x%JAVA_HOME%x" EQU "xx" (
echo echo ERROR: No java found
exit
)
java -DSOLARSRC=%SOLARSRC% -DWORK_STAMP=%WORK_STAMP% -DUSE_SHELL= -jar %SOLARVER%\%INPATH%\bin%UPDMINOREXT%\jpropex.jar %*
...@@ -42,6 +42,7 @@ mkdir: %_DEST%\bin%_EXT%\help\com\sun\star\help ...@@ -42,6 +42,7 @@ mkdir: %_DEST%\bin%_EXT%\help\com\sun\star\help
..\%__SRC%\class\receditor\receditor.jar %_DEST%\bin%_EXT%\receditor.jar ..\%__SRC%\class\receditor\receditor.jar %_DEST%\bin%_EXT%\receditor.jar
..\java\jpropex\jpropex %_DEST%\bin%_EXT%\jpropex ..\java\jpropex\jpropex %_DEST%\bin%_EXT%\jpropex
..\java\jpropex\jpropex.bat %_DEST%\bin%_EXT%\jpropex.bat
..\scripts\localize.pl %_DEST%\bin%_EXT%\localize.pl ..\scripts\localize.pl %_DEST%\bin%_EXT%\localize.pl
..\scripts\localize_old.pl %_DEST%\bin%_EXT%\localize_old.pl ..\scripts\localize_old.pl %_DEST%\bin%_EXT%\localize_old.pl
..\scripts\localize %_DEST%\bin%_EXT%\localize ..\scripts\localize %_DEST%\bin%_EXT%\localize
......
...@@ -301,6 +301,9 @@ void SourceTreeLocalizer::WorkOnFile( ...@@ -301,6 +301,9 @@ void SourceTreeLocalizer::WorkOnFile(
ByteString sPath3( "bin" ); ByteString sPath3( "bin" );
ByteString sPath4( Export::GetEnv("UPDMINOREXT") ); ByteString sPath4( Export::GetEnv("UPDMINOREXT") );
ByteString sExecutable( sPath1 ); ByteString sExecutable( sPath1 );
#if defined(WNT) || defined(OS2)
sExecutable.SearchAndReplaceAll( "/", sDel );
#endif
sExecutable += sDel ; sExecutable += sDel ;
sExecutable += sPath2 ; sExecutable += sPath2 ;
sExecutable += sDel; sExecutable += sDel;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment