Skip to content

Commit

Permalink
Fiji Build: fix upToDate() check with absolute paths
Browse files Browse the repository at this point in the history
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
  • Loading branch information
dscho committed Oct 14, 2011
1 parent 16047e4 commit 0d573eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src-plugins/fake/fiji/build/Rule.java
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ boolean upToDate(File source, File target) {
}

boolean upToDate(String source, String target, File cwd) {
return upToDate(new File(cwd, source),
new File(cwd, target));
return upToDate(new File(Util.makePath(cwd, source)),
new File(Util.makePath(cwd, target)));
}

boolean upToDateError(File source, File target) {
Expand Down

0 comments on commit 0d573eb

Please sign in to comment.