Pass --target to pkg

This commit is contained in:
Ian Douglas Scott 2017-06-29 16:09:07 -07:00
parent 7d4bdb0f29
commit b2f8cc0f17
No known key found for this signature in database
GPG Key ID: 4924E10E199B5959

View File

@ -214,7 +214,7 @@ function op {
echo "target = \"$TARGET\"" >> "stage.toml"
mkdir -p stage/pkg
cp -v stage.toml "stage/pkg/$1.toml"
CC=cc cargo run --release --manifest-path "$ROOT/pkgutils/Cargo.toml" --bin pkg -- create stage
CC=cc cargo run --release --manifest-path "$ROOT/pkgutils/Cargo.toml" --bin pkg -- --target=$TARGET create stage
;;
untar)
rm -rfv stage.tar.gz stage.sig stage.toml