aboutsummaryrefslogtreecommitdiff
path: root/extra/rust
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-01-29 20:56:41 +0300
committerCem Keylan <cem@ckyln.com>2020-01-29 20:56:41 +0300
commite6a7080ecc1c03569cf838cd5f0531709a051689 (patch)
tree3a57ba0d316f826e5492e86f21cf2cd7c28e4b13 /extra/rust
parentc4c3af9515953df86ab70b4b85ce2fdb3ccaca11 (diff)
downloadrepository-e6a7080ecc1c03569cf838cd5f0531709a051689.tar.gz
revert
Diffstat (limited to 'extra/rust')
-rwxr-xr-xextra/rust/build3
1 files changed, 1 insertions, 2 deletions
diff --git a/extra/rust/build b/extra/rust/build
index ea28f9ba..674d1700 100755
--- a/extra/rust/build
+++ b/extra/rust/build
@@ -17,8 +17,7 @@ patch -p1 < musl-libressl.patch
# 'rust' checksums files in 'vendor/', but we patch a few files.
for vendor in libc openssl-sys; do
- sed 's/\("files":{\)[^}]*/\1/' "vendor/$vendor/.cargo-checksum.json" > ".json.bak.$vendor"
- mv ".json.bak.$vendor" "vendor/$vendor/.cargo-checksum.json"
+ sed -i 's/\("files":{\)[^}]*/\1/' "vendor/$vendor/.cargo-checksum.json"
done
cat > config.toml <<EOF