Ignore:
Timestamp:
Mar 14, 2015, 6:06:10 PM (10 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
6d7acc8
Parents:
5525507
Message:

waf, waflib: update to 1.8.7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • waflib/Tools/ruby.py

    r5525507 r904702d  
    2828        ruby=self.env.RUBY
    2929        try:
    30                 version=self.cmd_and_log([ruby,'-e','puts defined?(VERSION) ? VERSION : RUBY_VERSION']).strip()
     30                version=self.cmd_and_log(ruby+['-e','puts defined?(VERSION) ? VERSION : RUBY_VERSION']).strip()
    3131        except Exception:
    3232                self.fatal('could not determine ruby version')
     
    5252        version=tuple(map(int,self.env.RUBY_VERSION.split(".")))
    5353        def read_out(cmd):
    54                 return Utils.to_list(self.cmd_and_log([self.env.RUBY,'-rrbconfig','-e',cmd]))
     54                return Utils.to_list(self.cmd_and_log(self.env.RUBY+['-rrbconfig','-e',cmd]))
    5555        def read_config(key):
    56                 return read_out('puts Config::CONFIG[%r]'%key)
     56                return read_out('puts RbConfig::CONFIG[%r]'%key)
    5757        ruby=self.env['RUBY']
    5858        archdir=read_config('archdir')
     
    8888        self.start_msg('Ruby module %s'%module_name)
    8989        try:
    90                 self.cmd_and_log([self.env['RUBY'],'-e','require \'%s\';puts 1'%module_name])
     90                self.cmd_and_log(self.env.RUBY+['-e','require \'%s\';puts 1'%module_name])
    9191        except Exception:
    9292                self.end_msg(False)
Note: See TracChangeset for help on using the changeset viewer.