usage: Print metavariables in SHOUTY letters.
[sw-tools] / sw-env
CommitLineData
3315e8b3 1# sw-env
2#
3# Default environment for `sw' remote commands
4#
5
6# --- Syntax summary ---
7#
8# This file can contain the following sorts of statements:
9#
10# arch ARCH { STATEMENTS }
11# include FILE
12# [set] VAR [=] VALUE
13# unset VAR
14#
15# Statements may optionally be terminated by semicolons; this isn't
16# required for the syntax to work properly. The `set' keyword is only
17# needed when VAR is one of the keywords. Everything is case sensitive.
18#
19# The `arch' statement groups architecture-specific assignments
20# together. Variables are only modified if ARCH matches the current
21# architecture.
22
23# --- The state of the world ---
24#
25# The initial environment is the (complete) invoking environment,
26# overridden by the (skeletal) local environment set up by the remote
27# shell. Additionally, `$SW_ARCH' is the current architecture name.
28
29# --- Set a sensible path ---
30
31PATH = "/usr/bin:/bin:/usr/local/bin";
32arch sparc-solaris { PATH = "$PATH:/usr/ccs/bin:/opt/SUNWspro/bin"; }
33PATH = "$PATH:/sw/common/arch/$SW_ARCH:/ebi/supported/bin";
34
35# --- Remove some dross that will probably break things ---
36
37unset LD_LIBRARY_PATH;
38unset LD_PRELOAD;
39
deb5e4a7 40# --- Include package-specific definitions ---
3315e8b3 41
3315e8b3 42include ".sw-env";