mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* tool/rbinstall.rb (install_recursive, bin-comm): split mere
string not path name. [ruby-core:40462] [Bug #5492] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									54816d10eb
								
							
						
					
					
						commit
						d67ac15c86
					
				
					 2 changed files with 7 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1,3 +1,8 @@
 | 
			
		|||
Sun Oct 30 10:50:36 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
 | 
			
		||||
 | 
			
		||||
	* tool/rbinstall.rb (install_recursive, bin-comm): split mere
 | 
			
		||||
	  string not path name.  [ruby-core:40462] [Bug #5492]
 | 
			
		||||
 | 
			
		||||
Sun Oct 30 10:47:20 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
 | 
			
		||||
 | 
			
		||||
	* io.c (rb_cloexec_dup, rb_cloexec_dup2): CLOEXEC has been set if
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -241,7 +241,7 @@ def install_recursive(srcdir, dest, options = {})
 | 
			
		|||
    if dir
 | 
			
		||||
      makedirs(d)
 | 
			
		||||
    else
 | 
			
		||||
      makedirs(File.dirname(d))
 | 
			
		||||
      makedirs(d[/.*(?=\/)/m])
 | 
			
		||||
      if block_given?
 | 
			
		||||
        yield src, d, opts
 | 
			
		||||
      else
 | 
			
		||||
| 
						 | 
				
			
			@ -443,7 +443,7 @@ install?(:local, :comm, :bin, :'bin-comm') do
 | 
			
		|||
    trans = proc {|base| base}
 | 
			
		||||
  end
 | 
			
		||||
  install_recursive(File.join(srcdir, "bin"), bindir) do |src, cmd|
 | 
			
		||||
    cmd = File.join(File.dirname(cmd), RbConfig.expand(trans[File.basename(cmd)]))
 | 
			
		||||
    cmd = cmd.sub(/[^\/]*\z/m) {|n| RbConfig.expand(trans[n])}
 | 
			
		||||
 | 
			
		||||
    shebang = ''
 | 
			
		||||
    body = ''
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue