[Rock-dev] [rock] #118: warn if env.sh is sourced more than once

rock noreply at opendfki.de
Wed Mar 14 18:17:22 CET 2012


#118: warn if env.sh is sourced more than once
-----------------------------+-----------------------------------
  Reporter:  Alexander.Duda  |      Owner:  rock-dev-mailing-list
      Type:  enhancement     |     Status:  new
  Priority:  major           |  Component:  toolchain
Resolution:                  |   Keywords:
-----------------------------+-----------------------------------

Comment (by sylvain.joyeux):

 Warning if some variables are already exported is not really practical
 (there would be quite a few of these messages)

 Do you think it would be enough to add a warning message when we detect
 that the env.sh of another autoproj installation got loaded before ?

 By the way, if you want a clean-room installation (i.e. make env.sh reset
 all the environment variables that it touches), you can do
 Autoproj.env_inherit.clear in autoproj/overrides.rb

-- 
Ticket URL: <https://rock.opendfki.de/ticket/118#comment:1>
rock <https://rock.opendfki.de>
rock: the robot construction kit


More information about the Rock-dev mailing list