From 9927fee7dd035ea9b61791ea6294d65d1b4efa55 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Feb 10 2011 23:17:24 +0000 Subject: Update locale_getActions.sh. --- diff --git a/Scripts/Bash/Functions/Locale/locale_getActions.sh b/Scripts/Bash/Functions/Locale/locale_getActions.sh index 24f12e1..948a710 100644 --- a/Scripts/Bash/Functions/Locale/locale_getActions.sh +++ b/Scripts/Bash/Functions/Locale/locale_getActions.sh @@ -99,6 +99,15 @@ function locale_getActions { # copy. cli_checkRepoDirSource + # Redefine action value variable in order to transform + # `trunk/Identity/' and `trunk/Manuals/' parent directory + # structures into `trunk/Locales' parallel directory structures. + # This way we can use parent directory paths to update related + # entries inside `trunk/Locales/' directory structures. + ACTIONVAL=$(echo $ACTIONVAL | sed -r \ + -e 's!trunk/(Identity|Manuals|Scripts)/!trunk/Locales/\1/!' \ + -e "s!Motifs/$(cli_getPathComponent '--theme')/?!!") + # Execute action name. if [[ $ACTIONNAM =~ "^${FUNCNAM}_[A-Za-z]+$" ]];then eval $ACTIONNAM