diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-01-05 02:21:13 -0800 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-01-05 02:21:13 -0800 |
| commit | 7b37bb5992bf49ec8b3c59ebedefe6a7b55d4aff (patch) | |
| tree | 082fa9a734ea3ae2b22cd35cf1eea8a7e532a4c8 | |
| parent | 4fd63b7457499ecfc68da5177374b635ccadbcc8 (diff) | |
| parent | b28a9c84c84f31de11b215c2b394535820163e55 (diff) | |
| download | mruby-7b37bb5992bf49ec8b3c59ebedefe6a7b55d4aff.tar.gz mruby-7b37bb5992bf49ec8b3c59ebedefe6a7b55d4aff.zip | |
Merge pull request #691 from masuidrive/fixed_build_dependency
Fixed build dependency
| -rw-r--r-- | tasks/rules.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/rules.rake b/tasks/rules.rake index 7d988cde3..beda2a864 100644 --- a/tasks/rules.rake +++ b/tasks/rules.rake @@ -1,5 +1,5 @@ def get_dependencies(file) - file = file.pathmap('%n.d') unless File.extname(file) == '.d' + file = file.ext('d') unless File.extname(file) == '.d' if File.exists?(file) File.read(file).gsub("\\\n ", "").scan(/^\S+:\s+(.+)$/).flatten.map {|s| s.split(' ') }.flatten else |
