bin/autoproj_bootstrap in autoproj-1.8.2 vs bin/autoproj_bootstrap in autoproj-1.8.3.rc1
- old
+ new
@@ -1731,10 +1731,15 @@
end
@shell_helpers = true
# Create the env.sh script in +subdir+. In general, +subdir+ should be nil.
def self.export_env_sh(subdir = nil)
+ # Make sure that we have the environment of all selected packages
+ Autoproj.manifest.all_selected_packages.each do |pkg_name|
+ Autobuild::Package[pkg_name].update_environment
+ end
+
filename = if subdir
File.join(Autoproj.root_dir, subdir, "env.sh")
else
File.join(Autoproj.root_dir, "env.sh")
end
@@ -1973,9 +1978,10 @@
if ARGV.first == "dev"
Autoproj::PackageManagers::GemManager.with_prerelease = true
ARGV.shift
end
begin
+ osdeps_management.install(['build-essential'])
osdeps_management.install(['autobuild'])
osdeps_management.install(['autoproj'])
rescue Autoproj::ConfigError => e
STDERR.puts "failed: #{e.message}"
exit(1)