- Notifications
You must be signed in to change notification settings - Fork5
Commit2e6dd32
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 thisargument, i.e. only producing "elf" instead of the full"<path-to_elf.elf>"Adding curly braces "${1]:e" ensures robust parsing.1 parent522bfe7 commit2e6dd32
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 |
| - | |
| 16 | + |
0 commit comments
Comments
(0)