1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-27 10:16:14 +01:00

- fixed #571491 ("[osc] --local-package always builds for the host system and doesn't respect the server repos anymore since 0.125")

This commit is contained in:
Marcus Huewe 2010-01-30 17:06:43 +01:00
parent 58f4740835
commit 0d67340644

View File

@ -417,8 +417,8 @@ def main(opts, argv):
bi_file = None
bc_file = None
bi_filename = '_buildinfo-%s-%s.xml' % (repo, arch)
bc_filename = '_buildconfig-%s-%s' % (repo, arch)
bi_filename = os.path.abspath('_buildinfo-%s-%s.xml' % (repo, arch))
bc_filename = os.path.abspath('_buildconfig-%s-%s' % (repo, arch))
if os.path.isdir(osc.core.store) and os.access(osc.core.store, os.W_OK):
bi_filename = os.path.join(os.getcwd(), osc.core.store, bi_filename)
bc_filename = os.path.join(os.getcwd(), osc.core.store, bc_filename)