diff options
Diffstat (limited to 'lib')
-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 |