Navigation Menu

Skip to content

Commit

Permalink
[FIXED JENKINS-19752] write in the correct outputstream
Browse files Browse the repository at this point in the history
(cherry picked from commit 11fe787)
  • Loading branch information
mathieu-pousse authored and olivergondza committed Oct 18, 2013
1 parent 582a87f commit 9b280bb
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -345,7 +345,7 @@ private static void zip(OutputStream outputStream, VirtualFile dir, String glob)
VirtualFile f = dir.child(n);
e.setTime(f.lastModified());
zos.putNextEntry(e);
Util.copyStream(f.open(), outputStream);
Util.copyStream(f.open(), zos);
zos.closeEntry();
}
zos.close();
Expand Down

0 comments on commit 9b280bb

Please sign in to comment.