]> git.lyx.org Git - features.git/commitdiff
Cmake tests: Use mkpath from module 'File::Path' to recursively
authorKornel Benko <kornel@lyx.org>
Thu, 15 Sep 2016 19:55:47 +0000 (21:55 +0200)
committerKornel Benko <kornel@lyx.org>
Thu, 15 Sep 2016 19:55:47 +0000 (21:55 +0200)
create the directory path.

development/autotests/useSystemFonts.pl

index f0183fa776fd5ac6d6daa62802b80bdcf58e4556..c68686b00af845d84cd4fecf1c0ff55226e3699b 100644 (file)
@@ -152,7 +152,7 @@ elsif (0) { # set to '1' to enable setting of inputencoding
 my $sourcedir = dirname($source);
 my $destdir = dirname($dest);
 if (! -d $destdir) {
-  diestack("could not make dir \"$destdir\"") if (! mkdir $destdir);
+  diestack("could not make dir \"$destdir\"") if (! mkpath $destdir);
 }
 
 my $destdirOfSubdocuments;