Running "orca source cflags" fails when cwd is on different drive than install folder #109
rdunnington
commented 2023-09-16 20:12:59 +00:00
Collaborator
```
E:\Dev\handmade\test>orca source cflags
ERROR: Paths don't have the same drive
Traceback (most recent call last):
File "C:\Users\Reuben\AppData\Local\orca\bin\sys_scripts\log.py", line 68, in shellfunc
func(*args, **kwargs)
File "C:\Users\Reuben\AppData\Local\orca\bin\sys_scripts\source.py", line 77, in cflags
include = nicepath(args.srcdir)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Reuben\AppData\Local\orca\bin\sys_scripts\source.py", line 72, in nicepath
if path_contains(os.getcwd(), path_abs):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Reuben\AppData\Local\orca\bin\sys_scripts\source.py", line 68, in path_contains
return os.path.commonpath([a_abs, b_abs]) == a_abs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen ntpath>", line 814, in commonpath
ValueError: Paths don't have the same drive
Task failed with 1 error:
ERROR: Paths don't have the same drive
```
bvisness
added the 2023-09-17 14:59:38 +00:00
windows
label
bvisness
self-assigned this 2023-09-17 15:45:31 +00:00
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?