diff --git a/cook.sh b/cook.sh index b70b43826fd97157a3e101706378235d96c26dd8..9d11a95b9c83978f8e29839d06798f55da545e53 100755 --- a/cook.sh +++ b/cook.sh @@ -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