1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-12 23:56:13 +01:00

- do_build: also consider "local_service_run" config option

This commit is contained in:
Marcus Huewe 2011-09-07 16:53:11 +02:00
parent 3683d9550d
commit 30ba376302

View File

@ -4929,7 +4929,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
# check for source services
if opts.offline or opts.local_package:
print "WARNING: source service from package or project will not be executed. This may not be the same build as on server!"
elif not opts.noservice and not opts.noinit:
elif (conf.config['local_service_run'] and not opts.noservice) and not opts.noinit:
p = Package('.')
r = p.run_source_services(verbose=True)
if r != 0: