From: Lars Hjemli Date: Sat, 16 Dec 2006 12:55:58 +0000 (+0100) Subject: Allow relative paths for cgit_cache_root X-Git-Url: https://gitweb.ps.run/ps-cgit/commitdiff_plain/7c849d94ec1cfecdec5a88d49f5af5c98f96ebca?hp=7c849d94ec1cfecdec5a88d49f5af5c98f96ebca Allow relative paths for cgit_cache_root Make sure we chdir(2) back to the original getcwd(2) when a page has been generated. Also, if the cgit_cache_root do not exist, try to create it. This is a feature intended to ease testing/debugging. Signed-off-by: Lars Hjemli ---