Skip to content

Commit

Permalink
Fix the relative path issue of JNI lib loader (tensorflow#16754)
Browse files Browse the repository at this point in the history
  • Loading branch information
todjiang authored and jhseu committed Feb 5, 2018
1 parent e78aff4 commit a9485a4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public static void load() {
// Deletions are in the reverse order of requests, so we need to request that the directory be
// deleted first, so that it is empty when the request is fulfilled.
tempPath.deleteOnExit();
final String tempDirectory = tempPath.toString();
final String tempDirectory = tempPath.getCanonicalPath();
if (frameworkResource != null) {
extractResource(frameworkResource, frameworkLibName, tempDirectory);
} else {
Expand Down

0 comments on commit a9485a4

Please sign in to comment.