From c4b0a276b269616a2609409565ca03f33e442382 Mon Sep 17 00:00:00 2001
From: Jeremy Soller <jackpot51@gmail.com>
Date: Sat, 3 Jun 2017 19:27:00 -0600
Subject: [PATCH] Remove pkgutils from setup.sh

---
 cook.sh  | 2 +-
 setup.sh | 6 ------
 2 files changed, 1 insertion(+), 7 deletions(-)

diff --git a/cook.sh b/cook.sh
index d1799f00b..7de389fb2 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 795627d99..62aa36f5b 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"
-- 
GitLab