diff --git a/cook.sh b/cook.sh index d1799f00bf36c2c4976967159bc7ba24ba475f20..7de389fb2196e26bcd6c18d9fd614363162b9f31 100755 --- a/cook.sh +++ b/cook.sh @@ -194,7 +194,7 @@ function op { echo "target = \"$TARGET\"" >> "stage.toml" mkdir -p stage/pkg cp -v stage.toml "stage/pkg/$1.toml" - cargo run --release --manifest-path "$ROOT/pkgutils/Cargo.toml" --bin pkg -- create stage + TARGET=x86_64-unknown-redox cargo run --release --manifest-path "$ROOT/pkgutils/Cargo.toml" --bin pkg -- create stage ;; untar) rm -rfv stage.tar stage.sig stage.toml diff --git a/setup.sh b/setup.sh index 795627d99f1f45cc6a56329133dc766da5060e4e..62aa36f5b1eabccc3c5ce7f12adcacc68e2882cc 100755 --- a/setup.sh +++ b/setup.sh @@ -24,10 +24,4 @@ then cargo install -f xargo fi -echo "Building pkgutils" -pushd pkgutils -# TODO Change pkgutils to not hard code TARGET -TARGET=x86_64-unknown-redox cargo build --release -popd - echo "cook.sh is ready to use"