Commit 2e6dd32
Robuster string parsing in bash script
In the `avrdude` call the elf-file input argument is used:
"... -Uflash:w:$1:e".
On some systems the "$1:e" is interpreted as the extension of this
argument, i.e. only producing "elf" instead of the full
"<path-to_elf.elf>"
Adding curly braces "${1]:e" ensures robust parsing.1 parent 522bfe7 commit 2e6dd32
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
0 commit comments