mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-26 17:42:18 +03:00
IDE command line: sketches can now be specified with relative paths. Fixes #1493
This commit is contained in:
8
build/linux/dist/arduino
vendored
8
build/linux/dist/arduino
vendored
@ -1,9 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
|
||||
CURDIR=`pwd`
|
||||
APPDIR="$(dirname -- "$(readlink -f -- "${0}")" )"
|
||||
|
||||
cd "$APPDIR"
|
||||
|
||||
|
||||
for LIB in \
|
||||
java/lib/rt.jar \
|
||||
java/lib/tools.jar \
|
||||
@ -19,4 +20,5 @@ export LD_LIBRARY_PATH
|
||||
|
||||
export PATH="${APPDIR}/java/bin:${PATH}"
|
||||
|
||||
java -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel processing.app.Base "$@"
|
||||
java -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel processing.app.Base --curdir $CURDIR "$@"
|
||||
|
||||
|
Reference in New Issue
Block a user