Commit c7130d7
committed
fix bad bash syntax
download.sh was run with /bin/sh, where `==` is not a portable test operator. On Ubuntu, it reports `unexpected operator` when parsing entries that use `->` rename syntax, causing GitHub tarballs to be saved as `master` instead
of the expected archive filename. Fixed with POSIX `=` and guard the optional argument with `${2:-}` so renamed archive downloads work.1 parent 9dc07ee commit c7130d7
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
0 commit comments