mirror of
https://github.com/openSUSE/osc.git
synced 2025-09-06 21:28:42 +02:00
fix local product builds using obsrepositories:/ directives
We need an absolute path since osc calls build in user home directory. Also extend the file name to hint to osc (and not any service configuration)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user