mirror of
https://github.com/13hannes11/toolbx-tuner.git
synced 2024-09-03 23:21:00 +02:00
make dist vendor executable
This commit is contained in:
2
build-aux/dist-vendor.sh
Normal file → Executable file
2
build-aux/dist-vendor.sh
Normal file → Executable file
@@ -3,7 +3,7 @@ export DIST="$1"
|
|||||||
export SOURCE_ROOT="$2"
|
export SOURCE_ROOT="$2"
|
||||||
|
|
||||||
cd "$SOURCE_ROOT"
|
cd "$SOURCE_ROOT"
|
||||||
mkdir "$DIST"/.cargo
|
mkdir -p "$DIST"/.cargo
|
||||||
cargo vendor | sed 's/^directory = ".*"/directory = "vendor"/g' > $DIST/.cargo/config
|
cargo vendor | sed 's/^directory = ".*"/directory = "vendor"/g' > $DIST/.cargo/config
|
||||||
# Move vendor into dist tarball directory
|
# Move vendor into dist tarball directory
|
||||||
mv vendor "$DIST"
|
mv vendor "$DIST"
|
||||||
|
|||||||
Reference in New Issue
Block a user