From b1b01cd6a1c05b25e3511e7e4057d28d9a3944c9 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Wed, 29 Jan 2020 20:07:56 +0300 Subject: rust: remove -i from sed on build --- extra/rust/build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'extra/rust') diff --git a/extra/rust/build b/extra/rust/build index 674d1700..ea28f9ba 100755 --- a/extra/rust/build +++ b/extra/rust/build @@ -17,7 +17,8 @@ patch -p1 < musl-libressl.patch # 'rust' checksums files in 'vendor/', but we patch a few files. for vendor in libc openssl-sys; do - sed -i 's/\("files":{\)[^}]*/\1/' "vendor/$vendor/.cargo-checksum.json" + sed 's/\("files":{\)[^}]*/\1/' "vendor/$vendor/.cargo-checksum.json" > ".json.bak.$vendor" + mv ".json.bak.$vendor" "vendor/$vendor/.cargo-checksum.json" done cat > config.toml <