mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
Make the shell cmd path relative on error.
This commit is contained in:
parent
e5aa27f028
commit
1b7e392fa1
@ -365,7 +365,7 @@ class build:
|
||||
self._output('run: ' + cmd)
|
||||
exit_code, proc, output = e.shell(cmd, cwd = path.host(cwd))
|
||||
if exit_code != 0:
|
||||
raise error.general('shell cmd failed: ' + cmd)
|
||||
raise error.general('shell cmd failed: %s' % (os.path.relpath(cmd)))
|
||||
|
||||
def builddir(self):
|
||||
builddir = self.config.abspath('_builddir')
|
||||
|
Loading…
x
Reference in New Issue
Block a user