1
0
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:
Martino Facchin 2016-01-07 08:26:05 +00:00
commit 8049b6e4c4

View File

@ -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.