Revert "Attempt to work around jenkins issue"

This reverts commit 1a67b4b2ff.
This commit is contained in:
Ian Douglas Scott 2017-07-09 09:27:24 -07:00
parent 1a67b4b2ff
commit 7ebac4fd31
No known key found for this signature in database
GPG Key ID: 4924E10E199B5959

18
cook.sh
View File

@ -95,19 +95,19 @@ function op {
fi
;;
prepare)
rm -rf sysroot
mkdir sysroot
rm -rf sysroot
mkdir sysroot
if [ ${#BUILD_DEPENDS} -gt 0 ]
then
for i in "${BUILD_DEPENDS[@]}"
do
pushd "$ROOT"
./repo.sh "$i"
popd
pushd $ROOT
./repo.sh ${BUILD_DEPENDS}
popd
CC=cc cargo run --release --manifest-path "$ROOT/pkgutils/Cargo.toml" --bin pkg -- --target=$TARGET install --root sysroot "$REPO/$i.tar.gz"
done
for i in "${BUILD_DEPENDS[@]}"
do
CC=cc cargo run --release --manifest-path "$ROOT/pkgutils/Cargo.toml" --bin pkg -- --target=$TARGET install --root sysroot "$REPO/$i.tar.gz"
done
fi
rm -rf build