Skip to content

Commit 0302053

Browse files
authored
Merge pull request openSUSE#1622 from dmach/localpackage_buildinfo_buildconfig_location
Fix storing _buildinfo and _buildconfig files in .osc rather than among the source files
2 parents cc57400 + 50f3d07 commit 0302053

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

osc/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -925,7 +925,7 @@ def main(apiurl, store, opts, argv):
925925
bc_file = None
926926
bi_filename = '_buildinfo-%s-%s.xml' % (repo, arch)
927927
bc_filename = '_buildconfig-%s-%s' % (repo, arch)
928-
if not opts.local_package and store.is_package and os.access(core.store, os.W_OK):
928+
if store.is_package and os.access(core.store, os.W_OK):
929929
bi_filename = os.path.join(os.getcwd(), core.store, bi_filename)
930930
bc_filename = os.path.join(os.getcwd(), core.store, bc_filename)
931931
elif not os.access('.', os.W_OK):

0 commit comments

Comments
 (0)