Element : <base>

Syntax


<!ELEMENT base     (#PCDATA)>

This element occurs in the Element: <stageinfo>

Description

The element base is used to specify the base directory which will be used by all the commands in the stage, 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 Stage

echo Executing configure
cd /usr/src/gzip.1.2.4a
./configure

echo Executing make
cd /usr/src/gzip.1.2.4a
make

echo Executing make
cd /usr/src/gzip.1.2.4a
make install

echo Exiting stage