Commit 0e6ed75
fix(docs): make Linux tar log-collection commands actually work
Closes #16.
The Linux tar commands in 'Gathering Warp Logs' fail with 'Cannot stat:
No such file or directory' because the shell expands the warp.log* /
warp_preview.log* glob in the user's pwd, not in the directory passed
to -C. As reported in the issue, this leaves users on Linux unable to
follow the logs instructions as written.
Switch to GNU tar's own globbing: quote the pattern so the shell leaves
it alone, and pass --wildcards so tar expands it inside -C. Linux
distros ship GNU tar as 'tar' by default, so this works out of the box
on the Linux platform this tab targets.
Also normalize the indentation in the Linux :::caution RUST_LOG block
to the 4-space indent already used by the macOS and Windows tabs (the
Linux block had inconsistent indent on a few lines).
Co-Authored-By: Oz <oz-agent@warp.dev>1 parent d91c1b7 commit 0e6ed75
1 file changed
Lines changed: 9 additions & 5 deletions
Lines changed: 9 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | | - | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
162 | 164 | | |
163 | 165 | | |
164 | 166 | | |
165 | 167 | | |
166 | 168 | | |
167 | 169 | | |
168 | 170 | | |
169 | | - | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
170 | 174 | | |
171 | 175 | | |
172 | 176 | | |
173 | 177 | | |
174 | 178 | | |
175 | 179 | | |
176 | | - | |
| 180 | + | |
177 | 181 | | |
178 | | - | |
| 182 | + | |
179 | 183 | | |
180 | 184 | | |
181 | | - | |
| 185 | + | |
182 | 186 | | |
183 | 187 | | |
184 | 188 | | |
| |||
0 commit comments