mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-17 22:23:10 +03:00
ArchiveExtractor was not making symlinks the right way
This commit is contained in:
@ -216,8 +216,8 @@ public class Platform {
|
||||
return System.getProperty("os.arch");
|
||||
}
|
||||
|
||||
public void symlink(File something, File somewhere) throws IOException, InterruptedException {
|
||||
Process process = Runtime.getRuntime().exec(new String[]{"ln", "-s", something.getAbsolutePath(), somewhere.getAbsolutePath()}, null, null);
|
||||
public void symlink(String something, File somewhere) throws IOException, InterruptedException {
|
||||
Process process = Runtime.getRuntime().exec(new String[]{"ln", "-s", something, somewhere.getAbsolutePath()}, null, somewhere.getParentFile());
|
||||
process.waitFor();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user