☰
Debian Codegraph
@
3.0.1-16
3.0.1-15
/
/
build-aux
/
dist-vendor.sh
☽
☼
build-aux/dist-vendor.sh
code
plain
raw
GPL-3+
2022-2024 Felix Häcker <
[email protected]
>
debian/copyright
1
#!/bin/sh
2
export SOURCE_ROOT="$1"
3
export DIST="$2"
4
5
cd "$SOURCE_ROOT"
6
mkdir "$DIST"/.cargo
7
cargo vendor | sed 's/^directory = ".*"/directory = "vendor"/g' > $DIST/.cargo/config
8
# Move vendor into dist tarball directory
9
mv vendor "$DIST"