script/update_upstream_files
raw| 1 | #!/bin/bash |
| 2 | # License: LGPL-3.0-only same as upstream |
| 3 | # Copyright: 2018 Geert Stappers <[email protected]> |
| 4 | |
| 5 | FILES="" |
| 6 | FILES="${FILES} main.c" |
| 7 | FILES="${FILES} jnilib.c" |
| 8 | FILES="${FILES} LICENSE.md" |
| 9 | # and the "build instructions": |
| 10 | FILES="${FILES} compile_linux.sh" |
| 11 | |
| 12 | RAWGITURL=https://raw.githubusercontent.com/arduino/listSerialPortsC/master/ |
| 13 | |
| 14 | for F in ${FILES} |
| 15 | do |
| 16 | wget -q -O ${F} ${RAWGITURL}${F} |
| 17 | done |
| 18 | |
| 19 | # l l |