mirror of
https://gitlab.freedesktop.org/dabrain34/GstPipelineStudio.git
synced 2024-11-22 09:00:59 +00:00
10 lines
237 B
Bash
10 lines
237 B
Bash
|
#!/bin/sh
|
||
|
export SOURCE_ROOT="$1"
|
||
|
export DIST="$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"
|