[gnome-builder] rustup: update rustup script from rustup.rs
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] rustup: update rustup script from rustup.rs
- Date: Sun, 23 Jul 2017 09:05:59 +0000 (UTC)
commit 6b4ae7968b2ebf36fdf0a1fbf9271789f7e2510b
Author: Christian Hergert <chergert redhat com>
Date: Sun Jul 23 02:05:49 2017 -0700
rustup: update rustup script from rustup.rs
plugins/rustup/rustup_plugin/resources/rustup.sh | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/plugins/rustup/rustup_plugin/resources/rustup.sh
b/plugins/rustup/rustup_plugin/resources/rustup.sh
index 2c46f38..4156f37 100755
--- a/plugins/rustup/rustup_plugin/resources/rustup.sh
+++ b/plugins/rustup/rustup_plugin/resources/rustup.sh
@@ -230,23 +230,23 @@ get_architecture() {
xscale | arm)
local _cputype=arm
- if [ "$_ostype" == "linux-android" ]; then
+ if [ "$_ostype" = "linux-android" ]; then
local _ostype=linux-androideabi
fi
;;
armv6l)
local _cputype=arm
- if [ "$_ostype" == "linux-android" ]; then
+ if [ "$_ostype" = "linux-android" ]; then
local _ostype=linux-androideabi
else
local _ostype="${_ostype}eabihf"
fi
;;
- armv7l)
+ armv7l | armv8l)
local _cputype=armv7
- if [ "$_ostype" == "linux-android" ]; then
+ if [ "$_ostype" = "linux-android" ]; then
local _ostype=linux-androideabi
else
local _ostype="${_ostype}eabihf"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]