bin/autoproj in autoproj-1.8.2.rc5 vs bin/autoproj in autoproj-1.8.2
- old
+ new
@@ -97,27 +97,14 @@
else
name
end
end
- needs_update_config = false
- selected_packages.delete_if do |name|
- if name =~ /^#{Regexp.quote(Autoproj.config_dir + File::SEPARATOR)}/ ||
- name =~ /^#{Regexp.quote(Autoproj.remotes_dir + File::SEPARATOR)}/
- needs_update_config = true
- end
- end
-
Dir.chdir(root_dir)
# Basic initialization
Autoproj::CmdLine.initialize
- if needs_update_config
- Autoproj::CmdLine.update_configuration
- if selected_packages.empty?
- exit 0
- end
- elsif selected_packages.empty?
+ if selected_packages.empty?
Autoproj::CmdLine.update_myself
Autoproj::CmdLine.update_configuration
else
begin
old_value = Autobuild.do_update