Change 5114

tony_smith (Tony Smith)
Tony Smith committed this change into //guest/tony_smith/perforce/API/Ruby
Request Review
Download .zip
Minor update to previous two changes.
I originally opted to use
CONFIG[ 'target_os' ] as it contained just what I was looking for, but
it's not there in Ruby 1.6 so that was out. What is there in both 1.6
and 1.8 is 'host_os', but on Linux (and possibly others) it can
contain a tuple value ('linux-gnu' instead of just 'linux').

This change splits the host_os field and takes only the first part
so p4conf.rb should guess correctly in more cases (I think!).
  • Files 4
  • Comments 0
4 edited 0 added 0 deleted
current/P4Ruby.tar.gz#41
Loading...
main/Changes#48
Loading...
main/p4conf.rb#20
Loading...
main/p4rb_version.h#50
Loading...
Tip: Use n and p to cycle through the changes.