mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
Fix support for Windows (MinGW) native builds using MSYS.
Fix paths that need to be coverted to host format. The shell expansion needs to invoke a shell on Windows as cmd.exe will not work. Munch the paths into smaller sizes for Windows due to the limited path size.
This commit is contained in:
@@ -68,7 +68,7 @@ class repo:
|
||||
raise error.general('cvs path needs to exist: %s' % (cwd))
|
||||
cmd = [self.cvs, '-z', '9', '-q'] + args
|
||||
log.output('cmd: (%s) %s' % (str(cwd), ' '.join(cmd)))
|
||||
exit_code, proc, output = e.spawn(cmd, cwd = cwd)
|
||||
exit_code, proc, output = e.spawn(cmd, cwd = path.host(cwd))
|
||||
log.trace(output)
|
||||
if check:
|
||||
self._cvs_exit_code(cmd, exit_code, output)
|
||||
|
Reference in New Issue
Block a user