mirror of
https://github.com/arduino/Arduino.git
synced 2024-12-01 12:24:14 +01:00
cc773fb1e0
In a lot of places, (potentially) relative paths were passed to File without any processing, making them be resolved without taking into account --curdir. By passing them through Base.absoluteFile instead, these paths are resolved relative to the working directory before starting arduino (at least on Linux, which is currently the only platform supporting --curdir). This applies --curdir to the --preferences-file option and the build.path, settings.path, sketchbook.path preferences. For example, this now works as expected: arduino --pref build.path=build_dir --verify Blink.ino |
||
---|---|---|
.. | ||
.settings | ||
format | ||
lib | ||
src | ||
test | ||
test-lib | ||
.classpath | ||
.classpath_macosx | ||
.classpath_vista | ||
.project | ||
build.xml | ||
run-linux.launch |