1 --- oo_1.1_src/scptools/source/linker/scpzip.cxx.jj 2001-12-05 08:12:02.000000000 -0500
2 +++ oo_1.1_src/scptools/source/linker/scpzip.cxx 2003-02-05 09:31:36.000000000 -0500
3 @@ -363,6 +363,7 @@ void ZipFile( SiFile* pFile, USHORT nLan
4 if( pFile->IsArchive() || pFile->IsPacked() )
6 ByteString aPackedname;
8 if( bOldSetupZIPStyle && pFile->IsSetupZip() )
9 aPackedname = "f_0000";
11 @@ -385,7 +386,33 @@ void ZipFile( SiFile* pFile, USHORT nLan
12 if( !pFile->IsSetupZip() && aDestination.Exists() )
15 - if( pFile->IsArchive() )
23 + p = pFile->GetID().GetBuffer();
24 + q = strchr (p, '\0');
25 + if (q > p + 5 && strcmp (q - 5, "_Lang") == 0)
29 + p = pFile->GetName().GetBuffer();
30 + q = strchr (p, '\0');
31 + if (q > p + 4 && strcmp (q - 4, ".res") == 0)
37 + ByteString linkName = "../../01/normal/";
39 + linkName += aPackedname;
40 + symlink (linkName.GetBuffer(), aDestination.GetFull().GetBuffer());
42 + else if( pFile->IsArchive() )
44 SiDirEntry aEntry(aSource);
45 FileCopier aCpy( aEntry, aDestination );