mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-08 13:56:15 +01: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:
commit
0302053f41
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user