From 2646ba721bb9b7927f533f048f2f7f69031c64ea Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: May 21 2011 17:15:08 +0000 Subject: Update centos-art.sh. --- diff --git a/Scripts/centos-art.sh b/Scripts/centos-art.sh index 91cdac6..e4084f8 100755 --- a/Scripts/centos-art.sh +++ b/Scripts/centos-art.sh @@ -33,8 +33,10 @@ # Initialize personal information. export CLI_PROGRAM='centos-art' +export CLI_PROGRAM_ID=$$ export CLI_VERSION='1.0 (beta)' export CLI_BASEDIR="${HOME}/artwork/trunk/Scripts" +export CLI_TEMPDIR='/tmp' # Initizalize internazionalization through gettext. . gettext.sh @@ -60,5 +62,9 @@ unset FILE unset FILES unset FUNCTION +# Trap interruption signals to terminate script execution correctly +# (e.g., removing all temporal files before leaving). +trap cli_terminateScriptExecution 0 1 2 + # Initialize command-line interface. cli "$@"