Opened 19 years ago
Closed 19 years ago
#4381 closed defect (fixed)
teach porttrace to respect TMPDIR environment variable
Reported by: | opendarwin.org@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | 1.0 |
Keywords: | Cc: | ||
Port: |
Description
teach porttrace (port -t) to respect the user's TMPDIR environment variable. Tested on 10.4.2 with TMPDIR in the shell (tcsh) environment and without TMPDIR in the environment (but not removed from .cshrc).
Attachments (1)
Change History (2)
Changed 19 years ago by opendarwin.org@…
Attachment: | porttrace_envTMPDIR.patch added |
---|
comment:1 Changed 19 years ago by pguyot (Paul Guyot)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Actually, I think your patch will fail if TMPDIR isn't set (envtmpdir variable wouldn't be set).
I fixed the bug by checking env(TMPDIR) directly in the slave procedure.
Thanks for the report!
Note: See
TracTickets for help on using
tickets.
patch to src/port1.0/porttrace.tcl to teach it about TMPDIR