Element : <base>

Syntax


<!ELEMENT base           (#PCDATA)>

This element occurs in the element : Element: <stageinfo>

Description

The element base is used to specify the base directory which will be used by all the commands in the stage (inherited), unless another base is specified at the level of the command as an attribute. See also : Element : <alfs> | Element : <configure> | Element : <copy> | Element: <execute> | Element: <link> | Element: <make> | Element: <mkdir> | Element: <move> | Element: <ownership> | Element: <patch> | Element: <permissions> | Element: <search_replace> | Element: <textdump>

Examples

<stage>
        <stageinfo>
                <base>/usr/src/gzip.1.2.4a</base>
        </stageinfo>

        <configure>
        </configure>

        <make>
        </make>

        <make>
                <param>install</param>
        </make>
</stage>

The equivalent bash script is :

echo Entering Stage
cd /usr/src/gzip.1.2.4a

echo Executing configure
./configure

echo Executing make
make

echo Executing make
make install

echo Exiting stage