summaryrefslogtreecommitdiff
path: root/Build/source/utils/psutils/psutils-1.17/extractres.pl
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/psutils/psutils-1.17/extractres.pl')
-rw-r--r--Build/source/utils/psutils/psutils-1.17/extractres.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/Build/source/utils/psutils/psutils-1.17/extractres.pl b/Build/source/utils/psutils/psutils-1.17/extractres.pl
index d7520c47d33..b18db0a9c24 100644
--- a/Build/source/utils/psutils/psutils-1.17/extractres.pl
+++ b/Build/source/utils/psutils/psutils-1.17/extractres.pl
@@ -27,6 +27,10 @@ while (@ARGV) {
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";
}