Skip to content

Commit

Permalink
build(aux): remove gettext checksum from the vendored deps
Browse files Browse the repository at this point in the history
  • Loading branch information
SeaDve committed Jul 29, 2024
1 parent 5fb80a6 commit 3187edb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build-aux/dist-vendor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ mkdir "$DIST"/.cargo
# It is also part of the Rust SDK extension.
cargo vendor-filterer --platform=x86_64-unknown-linux-gnu --platform=aarch64-unknown-linux-gnu > "$DIST"/.cargo/config
rm -f vendor/gettext-sys/gettext-*.tar.*
# remove the tarball from checksums
echo $(jq -c 'del(.files["gettext-0.21.tar.xz"])' vendor/gettext-sys/.cargo-checksum.json) > vendor/gettext-sys/.cargo-checksum.json
# Don't combine the previous and this line with a pipe because we can't catch
# errors with "set -o pipefail"
sed -i 's/^directory = ".*"/directory = "vendor"/g' "$DIST/.cargo/config"
# Move vendor into dist tarball directory
mv vendor "$DIST"

0 comments on commit 3187edb

Please sign in to comment.