lib/autoproj/cli/build.rb in autoproj-2.0.0.b5 vs lib/autoproj/cli/build.rb in autoproj-2.0.0.b6

- old
+ new

@@ -23,12 +23,14 @@ rebuild: false Autobuild.ignore_errors = options[:keep_going] command_line_selection, source_packages, osdep_packages = - super(selected_packages, options.merge(checkout_only: true, apply_post_install: false)) + super(selected_packages, options.merge(checkout_only: true)) + return if source_packages.empty? + # Disable all packages that are not selected ws.manifest.each_autobuild_package do |pkg| next if source_packages.include?(pkg.name) pkg.disable end @@ -68,10 +70,9 @@ end Autobuild.do_build = true ops.build_packages(source_packages) Autobuild.apply(source_packages, "autoproj-build", ['install']) - ws.apply_post_install end end end end