aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend/symbol.rb
diff options
context:
space:
mode:
authorMisty De Meo2013-01-09 17:04:02 -0600
committerMisty De Meo2013-01-09 17:09:28 -0600
commit9643ba6014783e3e055f4cf3af8a30a40c78d3d4 (patch)
treeea9121ddeba1437945576c45150f9d9f0dad43b3 /Library/Homebrew/extend/symbol.rb
parent21fa09cebb15685ece5f571f7c45ff357708d55a (diff)
downloadhomebrew-9643ba6014783e3e055f4cf3af8a30a40c78d3d4.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/extend/symbol.rb')
0 files changed, 0 insertions, 0 deletions