Commit 6d70170
committed
github-actionify.sh: fix sed expressions
The repoSlug contains a slash, which will affect the expression
if slash is used as the delimiter. So we change to semicolon.
The command "sed -i" with no extension does not work with BSD sed
(e.g. macOS); you need to write "sed -i ''" to avoid saving the
previous file to a backup. But this doesn't work with GNU sed,
which requires "sed -i''" or simply "sed -i" instead. The only
way I know that works with both sed flavors is to give the flag
as "-i.bak" and then delete the .bak file afterward.1 parent 24c5403 commit 6d70170
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
113 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
114 | 115 | | |
115 | 116 | | |
116 | 117 | | |
| |||
0 commit comments