From 34dc72699ea39c09674d39b3f04f448c0516b15e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Mon, 27 Nov 2023 17:18:10 +0100 Subject: [PATCH] meson: Do not create new cargo config file with dist script Instead append to the existing one. --- build-aux/dist-vendor.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build-aux/dist-vendor.sh b/build-aux/dist-vendor.sh index be732783..636c8039 100644 --- a/build-aux/dist-vendor.sh +++ b/build-aux/dist-vendor.sh @@ -4,7 +4,6 @@ export SOURCE_ROOT="$2" cd "$SOURCE_ROOT" mkdir "$DIST"/.cargo -cargo vendor | sed 's/^directory = ".*"/directory = "vendor"/g' > $DIST/.cargo/config +cargo vendor | sed 's/^directory = ".*"/directory = "vendor"/g' >> $DIST/.cargo/config.toml # Move vendor into dist tarball directory mv vendor "$DIST" -