mirror of
https://github.com/textmate/textmate.git
synced 2026-04-28 03:00:34 -04:00
Change ruby syntax: [ foo ].shelljoin → foo.shellescape
This commit is contained in:
@@ -644,7 +644,7 @@ def all_targets(buildfile, builddir)
|
||||
return res unless File.exists? buildfile
|
||||
|
||||
Dir.chdir(File.dirname(buildfile)) do
|
||||
targets = %x{ ${TM_NINJA:-ninja} -f #{[ buildfile ].shelljoin } -t targets all }
|
||||
targets = %x{ ${TM_NINJA:-ninja} -f #{buildfile.shellescape} -t targets all }
|
||||
return nil if $? != 0
|
||||
targets.each do |line|
|
||||
if line =~ /.*(?=:(?! phony))/
|
||||
|
||||
Reference in New Issue
Block a user