bin/autoproj_bootstrap in autoproj-2.3.1 vs bin/autoproj_bootstrap in autoproj-2.4.0

- old
+ new

@@ -1,9 +1,9 @@ #! /usr/bin/ruby -if RUBY_VERSION < "2.0.0" - STDERR.puts "autoproj requires Ruby >= 2.0.0" +if RUBY_VERSION < "2.1.0" + STDERR.puts "autoproj requires Ruby >= 2.1.0" exit 1 elsif ENV['AUTOPROJ_CURRENT_ROOT'] && (ENV['AUTOPROJ_CURRENT_ROOT'] != Dir.pwd) STDERR.puts "it seems that you've already loaded an env.sh script in this console, open a new console and try again" exit 1 end @@ -607,7 +607,9 @@ bootstrap_options = ops.parse_options(ARGV) ops.stage1 if !ops.skip_stage2? ops.call_stage2 end -ops.run_autoproj 'bootstrap', *bootstrap_options +if !ops.run_autoproj 'bootstrap', *bootstrap_options + exit 1 +end