Sha256: 272466f9735fa2df3818234df7cbb05d75d8a7e5eb23940ba6351d5e923a04d9

Contents?: true

Size: 527 Bytes

Versions: 4

Compression:

Stored size: 527 Bytes

Contents

#! /usr/bin/ruby

if RUBY_VERSION < "2.3.0"
    STDERR.puts "autoproj requires Ruby >= 2.3.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

require 'autoproj/ops/install'

ENV.delete('BUNDLE_GEMFILE')
ENV.delete('RUBYLIB')
ops = Autoproj::Ops::Install.new(Dir.pwd)
ops.parse_options(ARGV)
ops.stage1
if !ops.skip_stage2?
    ops.call_stage2
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
autoproj-2.11.0 bin/autoproj_install.in
autoproj-2.10.2 bin/autoproj_install.in
autoproj-2.10.1 bin/autoproj_install.in
autoproj-2.10.0 bin/autoproj_install.in