From f312d0acee12825e3405176f21a7c53a0c7afe74 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Aug 14 2011 18:32:19 +0000 Subject: Update `prepare' functionality: - When it be possible, don't use variable expansion on function invocation. That would prevent us from exercising the tags indexing feature. --- diff --git a/Scripts/Functions/Prepare/prepare.sh b/Scripts/Functions/Prepare/prepare.sh index 1a520ac..0a9c54c 100755 --- a/Scripts/Functions/Prepare/prepare.sh +++ b/Scripts/Functions/Prepare/prepare.sh @@ -35,24 +35,24 @@ function prepare { local CONFIGDIR=${CLI_FUNCDIR}/${CLI_FUNCDIRNAM}/Config # Interpret arguments and options passed through command-line. - ${CLI_FUNCNAME}_getOptions + prepare_getOptions # Execute action names based on whether they were provided or not. if [[ $ACTIONNAMS == '' ]];then # When action names are not provided, define action names that # will take place, explicitly. - ${CLI_FUNCNAME}_updatePackages - ${CLI_FUNCNAME}_updateLinks - ${CLI_FUNCNAME}_updateImages - ${CLI_FUNCNAME}_updateManuals + prepare_updatePackages + prepare_updateLinks + prepare_updateImages + prepare_updateManuals else # When action names are provided, loop through them and # execute them one by one. for ACTIONNAM in $ACTIONNAMS;do - ${CLI_FUNCNAME}_${ACTIONNAM} + prepare_${ACTIONNAM} done fi