Skip to content

Commit

Permalink
Don't use pipefail on Tiger
Browse files Browse the repository at this point in the history
See #99.
  • Loading branch information
mistydemeo committed Jul 10, 2013
1 parent ea6efce commit c99a6ee
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions install
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,10 @@ Dir.chdir HOMEBREW_PREFIX do
system git, "reset", "--hard", "origin/master"
else
# -m to stop tar erroring out if it can't modify the mtime for root owned directories
# pipefail to cause the exit status from curl to propogate if it fails
# we use -k for curl because Leopard has a bunch of bad SSL certificates
curl_flags = "fsSL"
curl_flags << "k" if macos_version <= 10.5
system "/bin/bash -o pipefail -c '/usr/bin/curl -#{curl_flags} https://github.com/mxcl/homebrew/tarball/master | /usr/bin/tar xz -m --strip 1'"
system "/bin/bash -c '/usr/bin/curl -#{curl_flags} https://github.com/mistydemeo/tigerbrew/tarball/master | /usr/bin/tar xz -m --strip 1'"
end
end

Expand Down

0 comments on commit c99a6ee

Please sign in to comment.