]> git.ipfire.org Git - thirdparty/make.git/commit
tests: Preserve Windows temp environment variables
authorPaul Smith <psmith@gnu.org>
Sun, 27 Feb 2022 22:44:16 +0000 (17:44 -0500)
committerPaul Smith <psmith@gnu.org>
Sun, 27 Feb 2022 22:47:19 +0000 (17:47 -0500)
commit8cdaabbf8e129fc15ee1456d4fce9d10bf4bad55
treeaf4466344c701b42e34e5bb117b44fb30d23c02f
parent2be866143394f5fa5fdeaa545003aba26dc72956
tests: Preserve Windows temp environment variables

* src/main.c (main): Show the temp filename on error.  Also on
Windows prefer TMP, then TEMP, and only lastly TMPDIR.
* tests/test_driver.pl: Add TMP, TEMP, and USERPROFILE to the list
of environment variables to preserve.
src/main.c
tests/test_driver.pl