mirror of
https://github.com/openSUSE/osc.git
synced 2025-08-06 15:43:39 +02:00
- osc build: if the build fails, print out the buildroot, so it it at hand for debugging
This commit is contained in:
@@ -377,7 +377,10 @@ def main(opts, argv):
|
||||
|
||||
print cmd
|
||||
rc = os.system(cmd)
|
||||
if rc: sys.exit(rc)
|
||||
if rc:
|
||||
print
|
||||
print 'The buildroot was:', config['build-root']
|
||||
sys.exit(rc)
|
||||
|
||||
pacdirlink = os.path.join(config['build-root'], '.build.packages')
|
||||
if os.path.exists(pacdirlink):
|
||||
|
Reference in New Issue
Block a user