mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
cc3dd7753e
Use different temporary directory for each test.
14 lines
192 B
Perl
Executable File
14 lines
192 B
Perl
Executable File
#! /usr/bin/env perl
|
|
# -*- mode: perl; -*-
|
|
|
|
# How to use:
|
|
|
|
use File::Temp tempdir;
|
|
|
|
my $template = "$ARGV[0]/AbC_XXXXXX";
|
|
my $res = tempdir($template, CLEANUP => 0);
|
|
|
|
print "$res";
|
|
|
|
exit(0);
|