From 1d694297276766a44d938fd3efc6a5f29740a9d9 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Aug 15 2011 16:02:57 +0000 Subject: Update `prepare' functionality: - Move `prepare_' prefix from `prepare.sh' to `prepare_getOptions' in order for tags indexing feature to work at least there. --- diff --git a/Scripts/Functions/Prepare/prepare.sh b/Scripts/Functions/Prepare/prepare.sh index abef5e0..140ca5d 100755 --- a/Scripts/Functions/Prepare/prepare.sh +++ b/Scripts/Functions/Prepare/prepare.sh @@ -52,7 +52,7 @@ function prepare { # When action names are provided, loop through them and # execute them one by one. for ACTIONNAM in $ACTIONNAMS;do - prepare_${ACTIONNAM} + ${ACTIONNAM} done fi diff --git a/Scripts/Functions/Prepare/prepare_getOptions.sh b/Scripts/Functions/Prepare/prepare_getOptions.sh index 3dc9ab2..c6da090 100755 --- a/Scripts/Functions/Prepare/prepare_getOptions.sh +++ b/Scripts/Functions/Prepare/prepare_getOptions.sh @@ -56,27 +56,27 @@ function prepare_getOptions { ;; --packages ) - ACTIONNAMS="${ACTIONNAMS} updatePackages" + ACTIONNAMS="${ACTIONNAMS} prepare_updatePackages" shift 1 ;; --links ) - ACTIONNAMS="${ACTIONNAMS} updateLinks" + ACTIONNAMS="${ACTIONNAMS} prepare_updateLinks" shift 1 ;; --images ) - ACTIONNAMS="${ACTIONNAMS} updateImages" + ACTIONNAMS="${ACTIONNAMS} prepare_updateImages" shift 1 ;; --manuals ) - ACTIONNAMS="${ACTIONNAMS} updateManuals" + ACTIONNAMS="${ACTIONNAMS} prepare_updateManuals" shift 1 ;; --environment ) - ACTIONNAMS="${ACTIONNAMS} getEnvars" + ACTIONNAMS="${ACTIONNAMS} prepare_getEnvars" shift 1 ;;