include UID in default COMPILE_DIR
This commit is contained in:
1 parent
f68a82f774
commit
22eba8d3c5
1 file changed
+6
-1
@@ -47,7 +47,12 @@ sub _init {
|
|||||||
my %config = (
|
my %config = (
|
||||||
INCLUDE_PATH => \@renderer_paths,
|
INCLUDE_PATH => \@renderer_paths,
|
||||||
COMPILE_EXT => '.ttc',
|
COMPILE_EXT => '.ttc',
|
||||||
COMPILE_DIR => ($dir || abs_path(File::Spec->tmpdir)),
|
# TODO maybe this should be File::Spec->catdir(File::Spec->tmpdir, $<)
|
||||||
|
COMPILE_DIR => ($dir || do {
|
||||||
|
my $dir = File::Spec->catdir(File::Spec->tmpdir, "ttr$<");
|
||||||
|
mkdir $dir;
|
||||||
|
$dir;
|
||||||
|
}),
|
||||||
UNICODE => 1,
|
UNICODE => 1,
|
||||||
ENCODING => 'utf-8',
|
ENCODING => 'utf-8',
|
||||||
CACHE_SIZE => 128,
|
CACHE_SIZE => 128,
|
||||||
|
|||||||
Reference in new issue
Block a user