mirror of
https://github.com/YosysHQ/sby.git
synced 2025-04-05 06:04:06 +00:00
Windows specific fixes
This commit is contained in:
parent
1ffef12cf1
commit
ecf7b8f1b0
|
@ -64,11 +64,14 @@ class SbyTask:
|
|||
"{" : "(",
|
||||
"}" : ")",
|
||||
}
|
||||
|
||||
cmdline_copy = cmdline
|
||||
for u, w in replacements.items():
|
||||
cmdline_copy = cmdline_copy.replace(u, w)
|
||||
self.cmdline = cmdline_copy
|
||||
parts = cmdline.split("'")
|
||||
for i in range(len(parts)):
|
||||
if i % 2 == 0:
|
||||
cmdline_copy = parts[i]
|
||||
for u, w in replacements.items():
|
||||
cmdline_copy = cmdline_copy.replace(u, w)
|
||||
parts[i] = cmdline_copy
|
||||
self.cmdline = '"'.join(parts)
|
||||
self.logfile = logfile
|
||||
self.noprintregex = None
|
||||
self.notify = []
|
||||
|
|
Loading…
Reference in a new issue