Permalink
Browse files

Fixed the path of the file being mixed up with the archive name.

Also removed toLowerCase() on the archive name.
  • Loading branch information...
sk89q committed Jun 21, 2013
1 parent 5364a07 commit 3635259aef3627f1b8115bf8726f817b7704afad
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/main/java/com/sk89q/lpbuilder/UpdateBuilder.java
@@ -292,7 +292,7 @@ private SingleFile createSingleFile(String path, File file) {
// We are .zipping this file up, so we do things differently
if (archiveName != null) {
- storeFileInArchive(path, archiveName, file, singleFile);
+ storeFileInArchive(archiveName, path, file, singleFile);
return null;
} else {
return singleFile;
@@ -309,7 +309,7 @@ private SingleFile createSingleFile(String path, File file) {
*/
private void storeFileInArchive(
String archiveName, String path, File file, PackageFile packageFile) {
- archiveName = archiveName.trim().toLowerCase();
+ archiveName = archiveName.trim();
ZipBucket bucket = buckets.get(archiveName);
if (bucket == null) {
bucket = new ZipBucket();

0 comments on commit 3635259

Please sign in to comment.