Skip to content

Commit 3f18eab

Browse files
authored
Small improvement
- Include the `--board` option - Take into account `--save-prefs` as well - Fix existing `--install-board` to `--install-boards`
1 parent 354fe10 commit 3f18eab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: build/linux/dist/arduino

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ fi
2727
# Collect options to java in an array, to properly handle whitespace in options
2828
JAVA_OPTIONS=("-DAPP_DIR=$APPDIR" "-Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel")
2929

30-
if [[ "$@" != *"--upload"* && "$@" != *"--verify"* && "$@" != *"--get-pref"* && "$@" != *"--pref"* && "$@" != *"--install-board"* && "$@" != *"--install-library"* ]] ; then
30+
if [[ "$@" != *"--upload"* && "$@" != *"--verify"* && "$@" != *"--get-pref"* && "$@" != *"--save-prefs"* "$@" != *"--install-boards"* && "$@" != *"--install-library"* ]] ; then
3131
JAVA_OPTIONS+=("-splash:$APPDIR/lib/splash.png")
3232
fi
3333

0 commit comments

Comments
 (0)