1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-12 23:56:13 +01:00

Merge pull request #923 from adrianschroeter/fix_obsrepositories

fix local product builds using obsrepositories:/ directives
This commit is contained in:
Marco Strigl 2021-06-28 10:09:05 +02:00 committed by GitHub
commit 6680fafba7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1213,7 +1213,7 @@ def main(apiurl, opts, argv):
xml.remove(node)
if found_obsrepositories > 0:
build_descr = '_service:' + build_descr.rsplit('/', 1)[-1]
build_descr = os. getcwd() + '/_service:osc_obsrepositories:' + build_descr.rsplit('/', 1)[-1]
tree.write(open(build_descr, 'wb'))
# appliance