blob: b71a2f76284bcad5ec4a6f2b5daf36d422bd1947 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
diff -ur psutils-1.17.orig/extractres.pl psutils-1.17/extractres.pl
--- psutils-1.17.orig/extractres.pl 1997-03-11 23:52:53.000000000 +0100
+++ psutils-1.17/extractres.pl 2011-01-09 17:38:03.000000000 +0100
@@ -27,6 +27,10 @@
if (defined($ENV{TMPDIR})) { # set body file name
$body = "$ENV{TMPDIR}/body$$.ps";
+} elsif (defined($ENV{TEMP})) {
+ $body = "$ENV{TEMP}/body$$.ps";
+} elsif (defined($ENV{TMP})) {
+ $body = "$ENV{TMP}/body$$.ps";
} else {
$body = "body$$.ps";
}
|