9 | | 1.1. Check if MC_TEMPDIR is already defined. |
10 | | 1.2. If yes, use it as is. If directory exists, use it. If no, create it. |
11 | | 1.3. If no, define it using TMPDIR with appended (pseudo)random part. Create directory. |
12 | | 1.4. pwd file should be created in the MC_TEMPDIR (with unique name or not. It's discussable). |
13 | | 1.4. Remove '''created''' directory. |
14 | | 2. mc-wrapper is unused. mc itself makes all below steps. |
15 | | 2.1. Check if MC_TEMPDIR is already defined. |
16 | | 2.2. If yes, use it as is. If directory exists, use it. If no, create it. |
17 | | 2.3. If no, define it using TMPDIR with appended (pseudo)random part. Create directory. |
18 | | 2.4. pwd file (a value of -P option) is used as is. |
19 | | 2.5. Remove '''created''' directory. |
| 9 | 1. Check if MC_TEMPDIR is already defined. |
| 10 | 1. If yes, use it as is. If directory exists, use it. If no, create it. |
| 11 | 1. If no, define it using TMPDIR with appended (pseudo)random part. Create directory. |
| 12 | 1. pwd file should be created in the MC_TEMPDIR (with unique name or not. It's discussable). |
| 13 | 1. Remove '''created''' directory. |
| 14 | 1. mc-wrapper is unused. mc itself makes all below steps. |
| 15 | 1. Check if MC_TEMPDIR is already defined. |
| 16 | 1. If yes, use it as is. If directory exists, use it. If no, create it. |
| 17 | 1. If no, define it using TMPDIR with appended (pseudo)random part. Create directory. |
| 18 | 1. pwd file (a value of -P option) is used as is. |
| 19 | 1. Remove '''created''' directory. |