Skip to content

Commit

Permalink
Make sed invocation truly portable across macOS and Linux. (obi1ken…
Browse files Browse the repository at this point in the history
  • Loading branch information
obi1kenobi authored Dec 7, 2024
1 parent 4e88a59 commit 9b633c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/regenerate_test_rustdocs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ for crate_pair; do
popd

pushd "$PLACEHOLDER_DIR"
sed -i '' '$d' Cargo.toml
sed -i='' '$d' Cargo.toml
cargo add --path "../../../test_crates/$crate"
$METADATA_CMD >"$metadata"
popd
Expand Down

0 comments on commit 9b633c8

Please sign in to comment.