aboutsummaryrefslogtreecommitdiff
path: root/libdex/OptInvocation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libdex/OptInvocation.cpp')
-rw-r--r--libdex/OptInvocation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdex/OptInvocation.cpp b/libdex/OptInvocation.cpp
index 7a25c2954..5014f4795 100644
--- a/libdex/OptInvocation.cpp
+++ b/libdex/OptInvocation.cpp
@@ -116,7 +116,7 @@ char* dexOptGenerateCacheFileName(const char* fileName, const char* subFileName)
systemRoot = "/system";
if (dexRoot == NULL)
- dexRoot = "/data";
+ dexRoot = dataRoot;
/* Cache anything stored on /system in cacheRoot, everything else in dataRoot */
if (!strncmp(absoluteFile, systemRoot, strlen(systemRoot))) {