Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -912,10 +912,10 @@ def dos2bashPath(path):
return path
else:
# Otherwise, do a simple translate and hope for the best?
# c:/foo --> /c/foo
# c:/foo --> /mnt/c/foo
# TODO: Check this!!
drive, rest = os.path.splitdrive(path)
path = '/{}/{}'.format(drive[0], rest)
path = '/mnt/{}/{}'.format(drive[0], rest)
return path


Expand Down Expand Up @@ -1011,6 +1011,7 @@ def _doDox(arg):

d = posixjoin(wxDir(), 'docs/doxygen')
d = d.replace('\\', '/')
d = dos2bashPath(d)
cmd = '"{}" -l -c "cd {} && ./regen.sh {}"'.format(bash, d, arg)
else:
os.environ['DOXYGEN'] = doxCmd
Expand Down
Loading