mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
fix(cargo)
`echo` assumes the `[features]` block is last (which is is no longer. replace with sed. closes #5151
This commit is contained in:
parent
806156bb02
commit
f7260902f1
1 changed files with 4 additions and 1 deletions
|
@ -37,7 +37,10 @@ build:
|
|||
script:
|
||||
# otherwise we are not ABI compatible and new macOS versions may break
|
||||
# this happened with Sonoma
|
||||
- echo "default = ['curl/force-system-lib-on-osx']" >> Cargo.toml
|
||||
- |
|
||||
sed -i "/^\[features\]\$/a\
|
||||
default = ['curl/force-system-lib-on-osx']" \
|
||||
Cargo.toml
|
||||
- cargo install
|
||||
--verbose
|
||||
--root={{ prefix }}
|
||||
|
|
Loading…
Reference in a new issue