From 02878c6040ef27a568ca22eacc506c54b54e6732 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: May 23 2011 02:16:14 +0000 Subject: Update ./cli_checkPathComponent.sh based on cli_getPathComponent.sh@2853. --- diff --git a/Scripts/Functions/cli_checkPathComponent.sh b/Scripts/Functions/cli_checkPathComponent.sh index 44aaf08..182850a 100755 --- a/Scripts/Functions/cli_checkPathComponent.sh +++ b/Scripts/Functions/cli_checkPathComponent.sh @@ -29,7 +29,7 @@ function cli_checkPathComponent { local ARGSS='' # Define long options. - local ARGSL='release,architecture,theme' + local ARGSL='release,architecture,motif' # Initialize arguments with an empty value and set it as local # variable to this function scope. @@ -83,9 +83,9 @@ function cli_checkPathComponent { break ;; - --theme ) + --motif ) for FILE in $(echo $FILES);do - if [[ ! $FILE =~ $(cli_getPathComponent --theme-pattern) ]];then + if [[ ! $FILE =~ $(cli_getPathComponent --motif-pattern) ]];then cli_printMessage "`eval_gettext "The theme \\\"\\\$FILE\\\" is not valid."`" --as-error-line fi done