Fix dist-vendor script for real this time (oops)
This commit is contained in:
@@ -6,6 +6,7 @@ export DIST="$1"
|
|||||||
export SOURCE_ROOT="$2"
|
export SOURCE_ROOT="$2"
|
||||||
|
|
||||||
cd "$SOURCE_ROOT"
|
cd "$SOURCE_ROOT"
|
||||||
|
mkdir "$DIST"/.cargo
|
||||||
cargo vendor >"$DIST/.cargo/config"
|
cargo vendor >"$DIST/.cargo/config"
|
||||||
sed -i 's/^directory = ".*"/directory = "vendor"/g' "$DIST/.cargo/config"
|
sed -i 's/^directory = ".*"/directory = "vendor"/g' "$DIST/.cargo/config"
|
||||||
mv vendor "$DIST"
|
mv vendor "$DIST"
|
||||||
|
Reference in New Issue
Block a user