mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-30 19:52:13 +01:00
Merge pull request #4395 from fumiyas/patch-1
Use "$@" instead of bare $@ to protect arguments
This commit is contained in:
commit
8049b6e4c4
@ -289,7 +289,7 @@ afterwards:
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
Xvfb :1 -nolisten tcp -screen :1 1280x800x24 &
|
Xvfb :1 -nolisten tcp -screen :1 1280x800x24 &
|
||||||
xvfb="$!"
|
xvfb="$!"
|
||||||
DISPLAY=:1 arduino $@
|
DISPLAY=:1 arduino "$@"
|
||||||
kill -9 $xvfb
|
kill -9 $xvfb
|
||||||
|
|
||||||
Save the script as *arduino-headless* and run it with the options described above.
|
Save the script as *arduino-headless* and run it with the options described above.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user