]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - make/configure.pm
Add a new runtime directory and move the pid file to it.
[user/henk/code/inspircd.git] / make / configure.pm
index 91e2cc7d680aebff0bda8eec5d0151d1decc36cd..001de5fc748f4014576e5426581e223be40ddf54 100644 (file)
@@ -192,6 +192,7 @@ sub cmd_update {
        say 'Updating...';
        my %config = read_config_file(CONFIGURE_CACHE_FILE);
        $config{EXAMPLE_DIR} //= catdir $config{CONFIG_DIR}, 'examples';
+       $config{RUNTIME_DIR} //= $config{DATA_DIR};
        my %compiler = get_compiler_info($config{CXX});
        my %version = get_version $config{DISTRIBUTION};
        parse_templates(\%config, \%compiler, \%version);