aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2017-11-29 18:31:57 +0000
committerGitHub2017-11-29 18:31:57 +0000
commita907ecd8194fe16b10bf5b6dd8b6f6dc74524021 (patch)
tree361a720729b86c221a861b85b69c55a959f678ef /Library
parent3f7e63a24c7a449eeed3d5dcee1f209b924d58cb (diff)
parent2dbc4ffaf3c4f0ade903a428e635d470000a0729 (diff)
downloadbrew-a907ecd8194fe16b10bf5b6dd8b6f6dc74524021.tar.bz2
Merge pull request #3486 from sjackman/portable-ruby-arm
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.