Skip to content

Commit

Permalink
Merge pull request #5366 from bjhargrave/issues/5364
Browse files Browse the repository at this point in the history
macro: Fix osfile macro to return OS specific path
  • Loading branch information
bjhargrave committed Sep 2, 2022
2 parents bf8cbe1 + 913eb04 commit d1ed2bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion biz.aQute.bndlib/src/aQute/bnd/osgi/Macro.java
Expand Up @@ -1471,7 +1471,7 @@ public String _osfile(String[] args) {
verifyCommand(args, _osfileHelp, null, 3, 3);
File base = new File(args[1]);
File f = IO.getFile(base, args[2]);
return IO.absolutePath(f);
return f.getAbsolutePath(); // Need to return path in OS specific form
}

public String _path(String[] args) {
Expand Down

0 comments on commit d1ed2bb

Please sign in to comment.