From 54add38d1d1c6e283cd444b367ed8bd49a5f3699 Mon Sep 17 00:00:00 2001 From: Matthew Patton Date: Thu, 1 Nov 2018 07:41:29 -0400 Subject: [PATCH] revise documentation to match code --- .../source/docs/other/environment-variables.html.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/website/source/docs/other/environment-variables.html.md b/website/source/docs/other/environment-variables.html.md index 9e295de17..8a854781c 100644 --- a/website/source/docs/other/environment-variables.html.md +++ b/website/source/docs/other/environment-variables.html.md @@ -43,9 +43,9 @@ each can be found below: reasons, you can set this environment variable to `1`. - `PACKER_TMP_DIR` - The directory used for temporary files during marshalling. - If unset, appends 'packer' to environment variables TEMP, TMP, or (windows: - LOCALAPPDATA) before falling back to the value of `configDir()/tmp` which - resolves to (unix: `$HOME/.packer.d`, windows: `%APPDAT%/packer.d`). - This is not to be confused with the provisionee's temporary directory which - is often defined (hard-coded) as '/tmp' or '%SYSTEMROOT%/Temp' per each - provisioner module. + If unset, resolves to (unix: `$HOME/.packer.d`, windows: `%USERPROFILE%/packer.d`) + or finally appending 'packer' to the value of os.TempDir() typically + (unix: `/tmp`, windows: `%TEMP%` or `%LOCALAPPDATA%`). + This is not to be confused with the provision target's temporary directory which + is often hard-coded as `/tmp` or `%SYSTEMROOT%/Temp` per Provisioner module or + user-supplied template.