]> git.lyx.org Git - features.git/commitdiff
Fix filterXml4Sax.pl to work under Windows
authorThibaut Cuvelier <tcuvelier@lyx.org>
Tue, 13 Oct 2020 01:20:24 +0000 (03:20 +0200)
committerThibaut Cuvelier <tcuvelier@lyx.org>
Tue, 13 Oct 2020 19:38:38 +0000 (21:38 +0200)
development/autotests/filterXml4Sax.pl

index 981def9a1ebed77bbbc390fd9b9a09c0db67fb52..100039d199bbb1d4aac4dcdb846cd979b8689bdb 100644 (file)
@@ -10,7 +10,7 @@ die("No xml file specified") if (! defined($ARGV[0]));
 my $f = $ARGV[0];
 die("Bad extension of $f") if ($f !~ /\.xml$/);
 die("Could not read $f") if (!open(FI, $f));
-my ($fh, $filename) = tempfile("tempXXXX", SUFFIX => '.xml', DIR => '/tmp', UNLINK => 0);
+my ($fh, $filename) = tempfile("tempXXXX", SUFFIX => '.xml', UNLINK => 0);
 while (my $l = <FI>) {
   chomp($l);
   $l = convert($l);