meson: Do not create new cargo config file with dist script
Instead append to the existing one.
This commit is contained in:
parent
f5dd08d114
commit
34dc72699e
|
@ -4,7 +4,6 @@ export SOURCE_ROOT="$2"
|
||||||
|
|
||||||
cd "$SOURCE_ROOT"
|
cd "$SOURCE_ROOT"
|
||||||
mkdir "$DIST"/.cargo
|
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
|
# Move vendor into dist tarball directory
|
||||||
mv vendor "$DIST"
|
mv vendor "$DIST"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue