1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-13 17:16:23 +01:00

- don't use relative paths

This commit is contained in:
Marcus Hüwe 2009-10-24 17:20:41 +00:00
parent 1922ec5de9
commit c420d5ef06

View File

@ -369,8 +369,8 @@ def main(opts, argv):
cpio.add(os.path.basename(build_descr), build_descr_data)
build_descr_data = cpio.get()
bi_filename = '.osc/_buildinfo-%s-%s.xml' % (repo, arch)
bc_filename = '.osc/_buildconfig-%s-%s' % (repo, arch)
bi_filename = os.path.join(os.getcwd(), '.osc/_buildinfo-%s-%s.xml' % (repo, arch))
bc_filename = os.path.join(os.getcwd(), '.osc/_buildconfig-%s-%s' % (repo, arch))
try:
if opts.noinit:
if not os.path.isfile(bi_filename):