diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2009-06-16 18:11:49 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2009-06-16 18:11:49 +0000 |
commit | 4f6f5673f005d7628c3809b0ad2a66953f2d8a2d (patch) | |
tree | 5b872e33098d871db721a6422535af527f475585 /transex3 | |
parent | a509ac0d1914c29a11fd0692d741f6a2b6889d65 (diff) |
CWS-TOOLING: integrate CWS ause102
2009-06-16 19:22:59 +0200 hjs r273039 : #i102607# don't kill mingw
2009-06-12 15:17:22 +0200 ihi r272921 : #i102607# add path before calling l10n tool
2009-06-11 14:25:20 +0200 hjs r272873 : #i102607# on EPM=internal call binary with full path
2009-06-10 13:35:48 +0200 hjs r272807 : #i102607# remove solver PATH entry from OOo env.
2009-06-10 12:10:44 +0200 hjs r272802 : #i102635# correct dependencies for all
2009-06-10 11:58:53 +0200 hjs r272801 : #i102607# call tools from solver with absolute path
Diffstat (limited to 'transex3')
-rw-r--r-- | transex3/source/localize.cxx | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/transex3/source/localize.cxx b/transex3/source/localize.cxx index 31420cc58eeb..2f19f727b517 100644 --- a/transex3/source/localize.cxx +++ b/transex3/source/localize.cxx @@ -304,7 +304,26 @@ void SourceTreeLocalizer::WorkOnFile( DirEntry aTemp( Export::GetTempFile()); ByteString sTempFile( aTemp.GetFull(), RTL_TEXTENCODING_ASCII_US ); - ByteString sExecutable( rExecutable ); + ByteString sDel; +#if defined(WNT) || defined(OS2) + sDel=ByteString("\\"); +#else + sDel=ByteString("/"); +#endif + ByteString sPath1( Export::GetEnv("SOLARVER") ); + ByteString sPath2( Export::GetEnv("INPATH") ); + ByteString sPath3( "bin" ); + ByteString sPath4( Export::GetEnv("UPDMINOREXT") ); + ByteString sExecutable( sPath1 ); + sExecutable += sDel ; + sExecutable += sPath2 ; + sExecutable += sDel; + sExecutable += sPath3 ; + sExecutable += sPath4 ; + sExecutable += sDel ; + sExecutable += rExecutable ; + + #if defined(WNT) || defined(OS2) sExecutable += ".exe"; String sPath( Export::GetEnv( "PATH" ), RTL_TEXTENCODING_ASCII_US ); |