diff --git a/osc/commandline.py b/osc/commandline.py index f89e31fa..853199ac 100644 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -4910,7 +4910,9 @@ Please submit there instead, or use --nodevelproject to force direct submission. args = self.parse_repoarchdescr(args, opts.noinit or opts.offline, opts.alternative_project) # check for source services - if not opts.noservice and not opts.noinit: + 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: p = Package('.') r = p.run_source_services(verbose=True) if r != 0: