Commit 9ab6978
committed
fix: use sed instead of bash substitution for deb version tilde
Bash 5+ applies tilde expansion to the replacement string in
${var//-/~}, turning ~ into $HOME (/home/runner on CI).
Use sed 's/-/~/g' to safely convert hyphens to tildes for Debian
version formatting.1 parent f3176bd commit 9ab6978
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
397 | 397 | | |
398 | 398 | | |
399 | 399 | | |
| 400 | + | |
| 401 | + | |
400 | 402 | | |
401 | | - | |
| 403 | + | |
402 | 404 | | |
403 | 405 | | |
404 | 406 | | |
| |||
0 commit comments