diff options
| -rw-r--r-- | install_homebrew.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/install_homebrew.rb b/install_homebrew.rb index f17036a14..df3a017e4 100644 --- a/install_homebrew.rb +++ b/install_homebrew.rb @@ -106,7 +106,9 @@ end if STDIN.tty? puts puts "Press enter to continue" - abort unless getc == 13 + c = getc + # we test for \r and \n because some stuff does \r instead + abort unless c == 13 or c == 10 end if File.directory? "/usr/local" |
