# sw-env # # Default environment for `sw' remote commands # # --- Syntax summary --- # # This file can contain the following sorts of statements: # # arch ARCH { STATEMENTS } # include FILE # [set] VAR [=] VALUE # unset VAR # # Statements may optionally be terminated by semicolons; this isn't # required for the syntax to work properly. The `set' keyword is only # needed when VAR is one of the keywords. Everything is case sensitive. # # The `arch' statement groups architecture-specific assignments # together. Variables are only modified if ARCH matches the current # architecture. # --- The state of the world --- # # The initial environment is the (complete) invoking environment, # overridden by the (skeletal) local environment set up by the remote # shell. Additionally, `$SW_ARCH' is the current architecture name. # --- Set a sensible path --- PATH = "/usr/bin:/bin:/usr/local/bin"; arch sparc-solaris { PATH = "$PATH:/usr/ccs/bin:/opt/SUNWspro/bin"; } PATH = "$PATH:/sw/common/arch/$SW_ARCH:/ebi/supported/bin"; # --- Remove some dross that will probably break things --- unset LD_LIBRARY_PATH; unset LD_PRELOAD; # --- Include package-specific definitions --- include ".sw-env";