Install correct version of cargo-config and xargo
This commit is contained in:
parent
ce44ede67e
commit
46282ed9ed
10
bootstrap.sh
10
bootstrap.sh
|
@ -422,10 +422,10 @@ usage()
|
||||||
# Looks for and installs a cargo-managed binary or subcommand
|
# Looks for and installs a cargo-managed binary or subcommand
|
||||||
#############################################################
|
#############################################################
|
||||||
cargoInstall() {
|
cargoInstall() {
|
||||||
if [[ "`cargo install --list`" != *"$1"* ]]; then
|
if [[ "`cargo install --list`" != *"$1 v$2"* ]]; then
|
||||||
cargo install $1
|
cargo install --force --version "$2" "$1"
|
||||||
else
|
else
|
||||||
echo "You have $1 installed already!"
|
echo "You have $1 version $2 installed already!"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -539,8 +539,8 @@ boot()
|
||||||
echo "Cloning gitlab repo..."
|
echo "Cloning gitlab repo..."
|
||||||
git clone https://gitlab.redox-os.org/redox-os/redox.git --origin upstream --recursive
|
git clone https://gitlab.redox-os.org/redox-os/redox.git --origin upstream --recursive
|
||||||
rustInstall
|
rustInstall
|
||||||
cargoInstall cargo-config
|
cargoInstall cargo-config 0.1.1
|
||||||
cargoInstall xargo
|
cargoInstall xargo 0.3.20
|
||||||
echo "Cleaning up..."
|
echo "Cleaning up..."
|
||||||
rm bootstrap.sh
|
rm bootstrap.sh
|
||||||
echo
|
echo
|
||||||
|
|
Loading…
Reference in a new issue