fix
git-svn-id: https://osmand.googlecode.com/svn/trunk@738 e29c36b1-1cfa-d876-8d93-3434fc2bb7b8
This commit is contained in:
parent
a1a66cb627
commit
24db7d1f9d
1 changed files with 5 additions and 1 deletions
|
@ -435,7 +435,11 @@ public class IndexBatchCreator {
|
|||
return;
|
||||
}
|
||||
if(mbLengh > 3 && (f.getName().endsWith(".odb") || f.getName().endsWith(".obf")) && zip){
|
||||
String zipFileName = f.getName().subSequence(0, f.getName().length() - 4)+".zip";
|
||||
String n = f.getName();
|
||||
if(f.getName().endsWith(".odb")){
|
||||
n = f.getName().substring(0, f.getName().length() - 4);
|
||||
}
|
||||
String zipFileName = n+".zip";
|
||||
File zFile = new File(f.getParentFile(), zipFileName);
|
||||
log.info("Zipping file " + f.getName());
|
||||
try {
|
||||
|
|
Loading…
Reference in a new issue