mirror of
https://github.com/elliotnunn/supermario.git
synced 2024-11-26 01:49:19 +00:00
Stdout: Disk:Src:Folder:File -> Folder/File
This saves time when tracking down the file causing a build error
This commit is contained in:
parent
4b5bd86876
commit
4ed556851a
@ -207,6 +207,13 @@ os.remove(config.hfsimg)
|
|||||||
|
|
||||||
if config.passthru is not None:
|
if config.passthru is not None:
|
||||||
wsheet = vol['MPW']['Worksheet'].data.decode('mac_roman').replace('\r', '\n')
|
wsheet = vol['MPW']['Worksheet'].data.decode('mac_roman').replace('\r', '\n')
|
||||||
|
|
||||||
|
# Convert all paths to native for my IDE of choice
|
||||||
|
def pathconverter(m):
|
||||||
|
components = m.group(1).split(':')
|
||||||
|
return path.join(*components)
|
||||||
|
wsheet = re.sub(r'\bDisk:Src:([^"\'\s]+)', pathconverter, wsheet)
|
||||||
|
|
||||||
print(wsheet, end='')
|
print(wsheet, end='')
|
||||||
|
|
||||||
# Slightly hacky way to extract an exit status
|
# Slightly hacky way to extract an exit status
|
||||||
|
Loading…
Reference in New Issue
Block a user