Defines the root directory in which
the session is operating, either "/" or an alternate
root directory. This variable tells control scripts the root directory
in which the products are installed. A script must use this directory
as a prefix to SW_LOCATION to locate the product's installed
files.
All control scripts (except for the configure and unconfigure
scripts) can be executed during an install or remove task on an
alternate root. If the scripts reference any product files, each
reference must include the {SW_ROOT_DIRECTORY} in the file pathname.
The scripts may only need to perform actions when installing
to (removing from) the primary root directory ("/").
If so, then the SW_ROOT_DIRECTORY can be used to cause a simple
exit 0 when the task is operating in an alternate root directory:
if test "${SW_ROOT_DIRECTORY}" != "/"
then
exit 0
fi