Commit 06ebd99
committed
shell: tmpdir: simplify mkjobtmp_tmpdir()
Problem: The mkjobtmp_tmpdir() function fetches TMPDIR from the job
environment, but the calling function has already done so.
Add a tmpdir parameter to mkjobtmp_tmpdir() so it does not have to be
looked up again.1 parent 8beeaad commit 06ebd99
1 file changed
+5
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
65 | 68 | | |
66 | | - | |
67 | | - | |
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
| |||
94 | 95 | | |
95 | 96 | | |
96 | 97 | | |
97 | | - | |
| 98 | + | |
98 | 99 | | |
99 | 100 | | |
100 | 101 | | |
| |||
0 commit comments