Files
zed/script
Anne Schuth 3bee803b51 Use TMPDIR environment variable in install script (#35636)
## Summary
This PR updates the install script to respect the `TMPDIR` environment
variable when creating temporary directories.

## Motivation
Some environments have non-standard temporary directory locations or
restrictions on `/tmp`. This change allows users to specify an
alternative temporary directory by setting the `TMPDIR` environment
variable.

## Changes
- Check if `TMPDIR` is set and points to a valid directory
- Use `$TMPDIR` for temporary files if available
- Fall back to `/tmp` if `TMPDIR` is not set or invalid

## Testing
Tested the script with:
- `TMPDIR` unset (uses `/tmp` as before)
- `TMPDIR` set to a valid directory (uses specified directory)
- `TMPDIR` set to an invalid path (falls back to `/tmp`)

This change maintains backward compatibility while adding flexibility
for environments with non-standard temporary directory requirements.

Release Notes:

- N/A
2025-08-08 05:05:56 +00:00
..
2024-09-30 17:46:21 -04:00
2025-03-10 01:06:11 -07:00
2025-03-10 01:06:11 -07:00
2025-03-10 01:06:11 -07:00
2025-03-10 01:06:11 -07:00
2025-03-10 01:06:11 -07:00
2024-03-22 08:44:56 -06:00
2025-03-10 01:06:11 -07:00
2025-03-10 01:06:11 -07:00
2025-03-10 01:06:11 -07:00
2025-03-10 01:06:11 -07:00
2025-03-10 01:06:11 -07:00
2025-03-10 01:06:11 -07:00
2024-01-23 16:52:08 +01:00
2025-03-10 01:06:11 -07:00
2024-09-30 17:46:21 -04:00
2025-03-10 01:06:11 -07:00
2025-03-10 01:06:11 -07:00
2025-03-10 01:06:11 -07:00
2025-04-18 19:28:14 +00:00
2025-03-10 01:06:11 -07:00
2024-08-12 22:11:36 -04:00
2025-03-10 01:06:11 -07:00
2025-03-10 01:06:11 -07:00
2024-11-28 10:31:12 +02:00
2025-03-10 01:06:11 -07:00