mirror of https://github.com/mgba-emu/mgba.git
Tools: Fix deploy-mac.py to accept absolute paths
This commit is contained in:
parent
dbca794310
commit
0c6c6fdcbc
|
@ -44,6 +44,8 @@ def makedirs(path):
|
||||||
while split:
|
while split:
|
||||||
accum.append(split.pop())
|
accum.append(split.pop())
|
||||||
newPath = joinPath(accum)
|
newPath = joinPath(accum)
|
||||||
|
if newPath == '/':
|
||||||
|
continue
|
||||||
try:
|
try:
|
||||||
os.mkdir(newPath)
|
os.mkdir(newPath)
|
||||||
except OSError as e:
|
except OSError as e:
|
||||||
|
|
Loading…
Reference in New Issue