diff options
-rw-r--r-- | jill/src/com/android/jill/Options.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jill/src/com/android/jill/Options.java b/jill/src/com/android/jill/Options.java index cfc4395..d759d24 100644 --- a/jill/src/com/android/jill/Options.java +++ b/jill/src/com/android/jill/Options.java @@ -91,7 +91,7 @@ public class Options { @Nonnull public File getOutput() { assert output != null; - if (workingDir != null) { + if (workingDir != null && !output.isAbsolute()) { return new File(workingDir, output.getPath()); } else { return output; @@ -101,7 +101,7 @@ public class Options { @Nonnull public File getBinaryFile() { assert binaryFile != null; - if (workingDir != null) { + if (workingDir != null && !binaryFile.isAbsolute()) { return new File(workingDir, binaryFile.getPath()); } else { return binaryFile; |