aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-01-29 20:07:56 +0300
committerCem Keylan <cem@ckyln.com>2020-01-29 20:07:56 +0300
commitb1b01cd6a1c05b25e3511e7e4057d28d9a3944c9 (patch)
treeb8e84a2cc40d7ef32e38f45d799ae1b5283d965f
parent7c08d3413e3fc70074ee912e3cd154f0c5ab6821 (diff)
downloadrepository-b1b01cd6a1c05b25e3511e7e4057d28d9a3944c9.tar.gz
rust: remove -i from sed on build
-rwxr-xr-xextra/rust/build3
1 files changed, 2 insertions, 1 deletions
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 <<EOF