diff options
Diffstat (limited to 'extra/rust/build')
-rwxr-xr-x | extra/rust/build | 3 |
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 |