From c9f2b80f8bd4338e7089992490b0f223da82b9fc Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Nov 26 2010 16:55:41 +0000 Subject: Rename OPTIONVAL variable name to ACTIONVAL inside cli_getThemeName.sh file. --- diff --git a/Scripts/Bash/Functions/cli_getThemeName.sh b/Scripts/Bash/Functions/cli_getThemeName.sh index 7166686..6554c43 100755 --- a/Scripts/Bash/Functions/cli_getThemeName.sh +++ b/Scripts/Bash/Functions/cli_getThemeName.sh @@ -29,8 +29,8 @@ function cli_getThemeName { local THEMENAME='' - if [[ $OPTIONVAL =~ '^.+/Themes/Motifs/([A-Za-z0-9-]+)/.+$' ]];then - THEMENAME=$(echo $OPTIONVAL \ + if [[ $ACTIONVAL =~ '^.+/Themes/Motifs/([A-Za-z0-9-]+)/.+$' ]];then + THEMENAME=$(echo $ACTIONVAL \ | sed -r "s!^.+/Themes/Motifs/([A-Za-z0-9-]+(/${RELEASE_FORMAT})?)/.+!\1!") fi