Skip to content

Commit a797a38

Browse files
committed
Fix argument ordering for JVM symlink
1 parent 8637caf commit a797a38

File tree

1 file changed

+1
-1
lines changed
  • src/vm/jvm/runtime/org/perl6/nqp/runtime

1 file changed

+1
-1
lines changed

src/vm/jvm/runtime/org/perl6/nqp/runtime/Ops.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -956,7 +956,7 @@ public static long symlink(String before, String after, ThreadContext tc) {
956956
Path before_o = Paths.get(before);
957957
Path after_o = Paths.get(after);
958958
try {
959-
Files.createSymbolicLink(before_o, after_o);
959+
Files.createSymbolicLink(after_o, before_o);
960960
}
961961
catch (Exception e) {
962962
die_s(IOExceptionMessages.message(e), tc);

0 commit comments

Comments
 (0)