1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-08-23 14:48:53 +02:00

- fixed #481208 ('osc build --local-package is completely ineffective')

This commit is contained in:
Marcus Hüwe
2009-03-08 23:43:26 +00:00
parent 2da0f1b737
commit 296f274f67

View File

@@ -275,14 +275,15 @@ def main(opts, argv):
# if opts.define:
# buildargs.append('--define "%s"' % opts.define)
if opts.local_package:
pac = '_repository'
if opts.alternative_project:
prj = opts.alternative_project
pac = '_repository'
apiurl = config['apiurl']
else:
prj = store_read_project(os.curdir)
if opts.local_package:
pac = '_repository'
else:
pac = store_read_package(os.curdir)
apiurl = store_read_apiurl(os.curdir)