Add $TMP and $TEMP to environment variable checks.

pull/16/head
Darrell Anderson 13 years ago
parent 000bad21eb
commit db9522797a

@ -248,6 +248,10 @@ int main(int argc, char **argv)
tmp = getenv("TDETMP"); tmp = getenv("TDETMP");
if (!tmp || !tmp[0]) if (!tmp || !tmp[0])
tmp = getenv("TMPDIR"); tmp = getenv("TMPDIR");
if (!tmp || !tmp[0])
tmp = getenv("TEMP");
if (!tmp || !tmp[0])
tmp = getenv("TMP");
if (!tmp || !tmp[0]) if (!tmp || !tmp[0])
tmp = "/tmp"; tmp = "/tmp";

Loading…
Cancel
Save