Windows: fix error with can_symlink check (#42753)
This commit is contained in:
parent
e96640d2b9
commit
7d728822f0
@ -189,6 +189,7 @@ def _windows_can_symlink() -> bool:
|
|||||||
import llnl.util.filesystem as fs
|
import llnl.util.filesystem as fs
|
||||||
|
|
||||||
fs.touchp(fpath)
|
fs.touchp(fpath)
|
||||||
|
fs.mkdirp(dpath)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
os.symlink(dpath, dlink)
|
os.symlink(dpath, dlink)
|
||||||
|
Loading…
Reference in New Issue
Block a user