Commit 19668be
authored
[SYCL][E2E] Fix quote_path bug in lit config (#18218)
The quote_path bug does not only affecting
Windows(#18135) but also Linux. This
patch address this problem. This bug affects all usage of `quote_path`,
notably the `level_zero_dev_kit` feature.
```
zsh$> cat 1.py
import shlex
ret = shlex.quote('')
if ret:
print("bug!")
else:
print("not a problem")
zsh$> python3 1.py
bug!
```1 parent 1dee646 commit 19668be
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
| 253 | + | |
| 254 | + | |
253 | 255 | | |
254 | | - | |
| 256 | + | |
255 | 257 | | |
256 | 258 | | |
257 | 259 | | |
| |||
0 commit comments