udoprog/c10t — Issue #229: Checking for nested directories in --cache-key
Author: Sworddragon
Created: 2012-01-08 03:55:30+00:00
State: open

If there are nested directories in --cache-key c10t is terminating if the directory doesn't exist:

>sworddragon@ubuntu:~/data$ c10t -w /srv/minecraft/world -o world.png -R 100 --cache-key='tmp/tmp'
Creating directory for caching: cache/tmp/tmp
terminate called after throwing an instance of 'boost::filesystem3::filesystem_error'
what(): boost::filesystem::create_directory: No such file or directory: "cache/tmp/tmp"

I think c10t should check if the nested directory exists like it does with the top level directory (./cache).