diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2009-02-01 17:44:01 +0100 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2009-02-01 17:44:26 +0100 |
commit | 92b5425bba7e2a2321a2dc8341a86cdb60def580 (patch) | |
tree | 7b091506ec83a2b07d2489aa18f8b466ba1cb914 | |
parent | 3b765e54381f325df3bd1e58a1861b0c0ba889b2 (diff) |
ircbot: suppress warning
parenthesize argument(s) for future version
-rw-r--r-- | lib/rbot/ircbot.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/ircbot.rb b/lib/rbot/ircbot.rb index 1c03d93c..389494af 100644 --- a/lib/rbot/ircbot.rb +++ b/lib/rbot/ircbot.rb @@ -453,7 +453,7 @@ class Bot missing = Dir.chdir(template) { Dir.glob('*/**') } - Dir.chdir(botclass) { Dir.glob('*/**') } missing.map do |f| dest = File.join(botclass, f) - FileUtils.mkdir_p File.dirname dest + FileUtils.mkdir_p(File.dirname dest) FileUtils.cp File.join(template, f), dest end else |