trunk/Scripts
=============

The trunk/Scripts directory exists to organize automation scripts related to TCPCVI. Such automation scripts are implemented through centos-art.sh script, a bash scripts designed to automate most frequent tasks performed inside the working copy of TCAR (e.g., image rendition, content documentation, content translation, etc.).

The trunk/Scripts directory and all files inside it are under version control.

The trunk/Scripts directory contains just one file, the centos-art.sh file. This file is the invocation script the centos-art command calls to. In addition to centos-art.sh file, the following directories are available:

  * Trunk Scripts Functions

Content rendition inside trunk/Scripts is not supported.

Once the centos-art.sh script is executed, the following variables are available all along the script execution:

 -- Variable: CLI_PROGRAM
     The CLI_PROGRAM variable is read-only and contains the name of the script, which is centos-art, without extension.

 -- Variable: CLI_PROGRAM_ID
     The CLI_PROGRAM_ID variable is read-only and contains the process identification assigned to centos-art.sh script, once executed.

 -- Variable: CLI_VERSION
     The CLI_VERSION variable is read-only and contains the version number of centos-art.sh script.

 -- Variable: CLI_BASEDIR
     The CLI_BASEDIR variable is read-only and contains the absolute path of directory where centos-art.sh script is stored in.

 -- Variable: CLI_TEMPDIR
     The CLI_TEMPDIR variable is read-only and contains the absolute path of directory where temporal files created by centos-art.sh script are stored in.

 -- Variable: TEXTDOMAIN
     The TEXDOMAIN variable is read-only and contains the name of the program we are providing localization for (i.e., centos-art.sh).

 -- Variable: TEXTDOMAINDIR
     The TEXTDOMAINDIR variable is read-only and contains the absolute path of directory holding localization messages for centos-art.sh. In order for this variable to take effect, its value must be set using the ${BASEDIR}/${LANG}/LC_MESSAGES/${TEXDOMAIN} construction; where BASEDIR is an absolute path inside your workstation, LANG a language code based on the standards ISO-639 and ISO-3166 (e.g., es_ES for Spanish from Spain, fr_FR for French from France, etc.).