aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_string.rb
diff options
context:
space:
mode:
authorMisty De Meo2013-01-09 17:04:02 -0600
committerMisty De Meo2013-01-09 17:09:28 -0600
commit05772f8ccfa16ca27e75fa22b7e590241a19b03e (patch)
tree8f0075e6fa57ae07b0af069aaf664e2698a24637 /Library/Homebrew/test/test_string.rb
parent4dffd3beb9e9c25344e5942cb49045c0f3e77b74 (diff)
downloadbrew-05772f8ccfa16ca27e75fa22b7e590241a19b03e.tar.bz2
doctor: use -V for python version
`python --version` doesn't work in some (very) old versions of python. While I doubt this is going to come up very often, it's theoretically possible someone has an old python first in their path. (python -V works on all versions I'm aware of, including python3, and comes before --version in the --help anyway.) Also skips the warning in case the regexp matches nothing, which probably shouldn't happen. But if it does we shouldn't produce the wrong warning.
Diffstat (limited to 'Library/Homebrew/test/test_string.rb')
0 files changed, 0 insertions, 0 deletions