From 92b5425bba7e2a2321a2dc8341a86cdb60def580 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Sun, 1 Feb 2009 17:44:01 +0100 Subject: ircbot: suppress warning parenthesize argument(s) for future version --- lib/rbot/ircbot.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 -- cgit v1.2.3