mirror of
https://github.com/openSUSE/osc.git
synced 2025-09-05 20:58:42 +02:00
Merge pull request #1622 from dmach/localpackage_buildinfo_buildconfig_location
Fix storing _buildinfo and _buildconfig files in .osc rather than among the source files
This commit is contained in:
@@ -925,7 +925,7 @@ def main(apiurl, store, opts, argv):
|
||||
bc_file = None
|
||||
bi_filename = '_buildinfo-%s-%s.xml' % (repo, arch)
|
||||
bc_filename = '_buildconfig-%s-%s' % (repo, arch)
|
||||
if not opts.local_package and store.is_package and os.access(core.store, os.W_OK):
|
||||
if store.is_package and os.access(core.store, os.W_OK):
|
||||
bi_filename = os.path.join(os.getcwd(), core.store, bi_filename)
|
||||
bc_filename = os.path.join(os.getcwd(), core.store, bc_filename)
|
||||
elif not os.access('.', os.W_OK):
|
||||
|
Reference in New Issue
Block a user