Project

General

Profile

« Previous | Next » 

Revision e1026000

Added by nobu (Nobuyoshi Nakada) almost 2 years ago

[rubygems/rubygems] Use IO.popen to list files

  • Redirect stderr git ls-files to null without shelling out.

  • When building by gem, __FILE__ is the path name given in the
    command line, or the gemspec file name in the current directory. In
    that case, comparison it and expanded path never equal. Compare
    listed file names with the base name of __FILE__ instead.

https://github.com/rubygems/rubygems/commit/5583433dbb