parscit/bin/phOutput2xml.pl in biblicit-2.2.1 vs parscit/bin/phOutput2xml.pl in biblicit-2.2.2

- old
+ new

@@ -27,10 +27,11 @@ ### USER customizable section my $tmpfile .= $0; $tmpfile =~ s/[\.\/]//g; $tmpfile .= $$ . time; if ($tmpfile =~ /^([-\@\w.]+)$/) { $tmpfile = $1; } # untaint tmpfile variable -$tmpfile = "/tmp/" . $tmpfile; +my $tmpdir = $ENV{'PARSCIT_TMPDIR'} || "/tmp"; +$tmpfile = "$tmpdir/$tmpfile"; $0 =~ /([^\/]+)$/; my $progname = $1; my $outputVersion = "1.0"; ### END user customizable section ### Ctrl-C handler