mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +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
|
@ -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