Closed Quintus closed 13 years ago
How hard would this be to fix? Is there a good function to copy entire directories or will we have to write our own recursive function?
No need to reinvent the wheel. I already use the FileUtils
module (stdlib) excessively in smc-get and it provides the cp_r
method that does a quite good job on copying directories recursively.
Vale, Quintus
The interactive build process fails if worlds are included:
ruby -v:
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-linux]
OS: Arch Linux smc-get version: 0.2.0-beta2devThis is because it tries to treat the world directory as a file when it tries to copy it to the temporary directory for compressing.
The world I tried to package is the one from this thread: http://www.secretmaryo.org/phpBB3/viewtopic.php?f=21&t=4608
Valete, Quintus