aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorShaun Jackman2017-11-26 20:13:00 -0800
committerShaun Jackman2017-11-27 12:09:27 -0800
commit2dbc4ffaf3c4f0ade903a428e635d470000a0729 (patch)
tree3da9433c0348695e5e902a541ee2857f646c3923 /Library
parentf7baa3b380c1ed38d78da054c99b1b5f3678a645 (diff)
downloadbrew-2dbc4ffaf3c4f0ade903a428e635d470000a0729.tar.bz2
vendor-install: Add ARM bottle for portable-ruby
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/vendor-install.sh12
1 files changed, 10 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/vendor-install.sh b/Library/Homebrew/cmd/vendor-install.sh
index fa9cb20d3..bf6fe0c59 100644
--- a/Library/Homebrew/cmd/vendor-install.sh
+++ b/Library/Homebrew/cmd/vendor-install.sh
@@ -21,8 +21,16 @@ then
fi
elif [[ -n "$HOMEBREW_LINUX" ]]
then
- ruby_URL="https://homebrew.bintray.com/bottles-portable/portable-ruby-2.3.3.x86_64_linux.bottle.1.tar.gz"
- ruby_SHA="33643b1ca6f860d6df01686636326785763e5e81cf0cef37d8a7ab96a6ca1fa1"
+ case "$HOMEBREW_PROCESSOR" in
+ armv7l)
+ ruby_URL="https://homebrew.bintray.com/bottles-portable/portable-ruby-2.3.3.armv7l_linux.bottle.1.tar.gz"
+ ruby_SHA="d26affe6f6ac299557a9044b311b4066b554874fc828ebc323d2705d3f4a8249"
+ ;;
+ x86_64)
+ ruby_URL="https://homebrew.bintray.com/bottles-portable/portable-ruby-2.3.3.x86_64_linux.bottle.1.tar.gz"
+ ruby_SHA="33643b1ca6f860d6df01686636326785763e5e81cf0cef37d8a7ab96a6ca1fa1"
+ ;;
+ esac
fi
# Execute the specified command, and suppress stderr unless HOMEBREW_STDERR is set.