From 9b633c8f742aea91979562b003620feac206387f Mon Sep 17 00:00:00 2001 From: Predrag Gruevski <2348618+obi1kenobi@users.noreply.github.com> Date: Sat, 7 Dec 2024 17:20:27 -0500 Subject: [PATCH] Make `sed` invocation truly portable across macOS and Linux. (#1024) --- scripts/regenerate_test_rustdocs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/regenerate_test_rustdocs.sh b/scripts/regenerate_test_rustdocs.sh index 84ec8ba1..a9b31ccd 100755 --- a/scripts/regenerate_test_rustdocs.sh +++ b/scripts/regenerate_test_rustdocs.sh @@ -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