[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Files Reference

setup.sh File

Purpose

Defines the Bourne or Korn shell environment variables needed to build an InfoCrafter database.

Description

The setup.sh file defines Bourne or Korn shell environment variables necessary to build an InfoCrafter database from the command line using the icft command. The setup.sh file sets the TOOLSDIR and TOPLEVEL_BUILDDIR variables. If there are relative path names of source files in your input list, it also sets the TOPLEVEL_SOURCEDIR variable. The TOOLSDIR variable is added to your path environment variable so you can enter the icft command without specifying the full path name.

Default value for the TOOLSDIR environment path variable is /usr/lpp/icraft/bin. TOPLEVEL_SOURCEDIR and TOPLEVEL_BUILDDIR have no default values.

You must copy the setup.sh file from /usr/lpp/icraft/bin to another location (such as your home directory) and edit it to define the variables. Then, use the . setup.sh command to set the variables to the defined values.

Examples

A sample setup.sh file appears as follows:

TOPLEVEL_SOURCEDIR =             $HOME/desktop
TOOLSDIR =                       /usr/lpp/icraft/bin
TOPLEVEL_BUILDDIR =              $TOOLSDIR/master

To set Bourne or Korn shell environment variables, enter the following:

. setup.sh

The following message is given:

setup.sh: assigning environment variables for InfoCrafter

Files

/usr/lpp/icraft/bin/setup.sh Contains definitions for Bourne and Korn shell environment variables.

Related Information

The setup.csh file.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]