summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtools/dex-preopt3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/dex-preopt b/tools/dex-preopt
index b2bc2c4d0..08c63705d 100755
--- a/tools/dex-preopt
+++ b/tools/dex-preopt
@@ -254,7 +254,8 @@ if [ "${bootstrap}" = "yes" ]; then
done
else
echo "Processing ${inputFile}" 1>&2
- "${dexopt}" --preopt "${inputFile}" "${outputFile}" "${optimizeFlags}"
+ "${dexopt}" --preopt "${product}/${inputFile}" "${product}/${outputFile}" \
+ "${optimizeFlags}"
status="$?"
if [ "${status}" != "0" ]; then