lyx_mirror/development/autotests/getTempDir.pl
Kornel Benko cc3dd7753e Cmake tests: make parallel export tests safer.
Use different temporary directory for each test.
2015-03-28 21:21:16 +01:00

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);