nagyistoce / googlemock

Automatically exported from code.google.com/p/googlemock
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

gmock_doctor.py dependency on /usr/bin/python2.4 #73

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run gmock_doctor.py on a machine without anything at 
/usr/bin/python2.4
2. ???
3. PROFIT!

What is the expected output? What do you see instead?
Expected gmock_doctor to run. Got a bad interpreter error from my shell 
instead.

What version of the product are you using? On what operating system?
1.1.0 (gmock_doctor 0.1.0.80421) on Darwin 9.8.0 Darwin Kernel Version 
9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-
1228.15.4~1/RELEASE_I386 i386 (that's Mac 10.5.8)

Please provide any additional information below.

Find a portable way to call python, because I don't like shoving crap in 
/usr/bin. Something involving /usr/bin/env will probably be needed. If this 
is difficult for you to understand, please find the nearest unix system 
administrator to bludgeon an more thorough explanation into you. If one is 
not available, please troll alt.sysadmin.recovery for volunteers. ; P

Original issue reported on code.google.com by josephho...@gmail.com on 21 Sep 2009 at 7:54

GoogleCodeExporter commented 9 years ago

Original comment by zhanyong...@gmail.com on 21 Sep 2009 at 9:19

GoogleCodeExporter commented 9 years ago
Fixed in trunk now.

Original comment by zhanyong...@gmail.com on 22 Sep 2009 at 4:20

GoogleCodeExporter commented 9 years ago
Thanks for being so quick. The original script depended upon python2.4, but the 
fix just 
uses the default python. Is that an issue? Are there test cases for the doktor 
to make 
sure it works?

Original comment by josephho...@gmail.com on 22 Sep 2009 at 11:15