DIANE Environment Scripts

DIANE requires only very minimal environment to run user commands, without polluting your shell environment with many variables. The diane-env script is the single place where the environment is defined. Try diane-env --help for description of options and examples.

User environment

To source the minimal user environment in bash: $(diane-env)

Developer (full) environment

In some case, for example, compiling the project, you may want to set the full environment in the shell or pass it to the make command. This may be achieved by calling $diane-env -d command$. For example, $diane-env -d bash$ will start a new shell with the full diane development environment.

Note: some flawed shell installations reset some environment variables (PATH,LD_LIBRARY_PATH,...) at startup. In this case you cannot easily load the full environment into a shell. You'd need to prefix all commands which may need the full environment with =diane-env -d =

-- JakubMoscicki - 08-Feb-2011

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2011-02-09 - JakubMoscicki
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    ArdaGrid All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback