Skip to content

Commit

Permalink
Merge pull request #16 from NJAldwin/use-absolute-path
Browse files Browse the repository at this point in the history
Ensure absolute path is used for library extraction and loading
  • Loading branch information
chirino committed Oct 7, 2014
2 parents 8c28532 + 3d3aa0b commit d10c4b0
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,9 @@ private String map(String libName) {

private File extract(ArrayList<String> errors, URL source, String prefix, String suffix, File directory) {
File target = null;
if (directory != null) {
directory = directory.getAbsoluteFile();
}
try {
FileOutputStream os = null;
InputStream is = null;
Expand Down

0 comments on commit d10c4b0

Please sign in to comment.