SDK Updater: fix install in new directory.

Also change the getenv hack so that multiple sources
can be specified, separated by ;
This commit is contained in:
Raphael
2009-06-10 19:35:50 -07:00
parent b399193542
commit 9888f2038e
2 changed files with 11 additions and 8 deletions

View File

@@ -586,12 +586,12 @@ public class Archive implements IDescription {
destFolder.getPath());
return false;
}
}
if (!unzipDestFolder.mkdirs()) {
monitor.setResult("Failed to create temp directory %1$s",
unzipDestFolder.getPath());
return false;
}
if (!unzipDestFolder.mkdirs()) {
monitor.setResult("Failed to create directory %1$s",
unzipDestFolder.getPath());
return false;
}
if (!unzipFolder(archiveFile, getSize(), unzipDestFolder, desc, monitor)) {