mirror of
https://gitlab.com/marcandre.lureau/qemu-display.git
synced 2024-11-10 01:50:00 +00:00
11 lines
240 B
Bash
11 lines
240 B
Bash
#!/bin/bash
|
|
export DIST="$1"
|
|
export SOURCE_ROOT="$2"
|
|
|
|
cd "$SOURCE_ROOT"
|
|
mkdir "$DIST"/.cargo
|
|
cargo vendor | sed 's/^directory = ".*"/directory = "vendor"/g' > $DIST/.cargo/config
|
|
# Move vendor into dist tarball directory
|
|
mv vendor "$DIST"
|
|
|