1
0
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:
Dr. Peter Poeml
2008-01-24 18:18:03 +00:00
parent 63e4d8da3c
commit 8d52b94a6f

View File

@@ -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):