From c9a43f77c0bd753b1988ea2d7e88ab6090c00eab Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: May 05 2011 01:33:55 +0000 Subject: Update cli_checkPathComponent.sh. --- diff --git a/Scripts/Functions/cli_checkPathComponent.sh b/Scripts/Functions/cli_checkPathComponent.sh index e1194a7..264e3ca 100755 --- a/Scripts/Functions/cli_checkPathComponent.sh +++ b/Scripts/Functions/cli_checkPathComponent.sh @@ -57,19 +57,19 @@ function cli_checkPathComponent { '--release' ) if [[ $LOCATION =~ ${PATTERN[0]} ]];then - MESSAGE="`eval_gettext "The release \\\`\\\$LOCATION' is not valid."`" + MESSAGE="`eval_gettext "The release \\\"\\\$LOCATION\\\" is not valid."`" fi ;; '--architecture' ) if [[ $LOCATION =~ ${PATTERN[1]} ]];then - MESSAGE="`eval_gettext "The architecture \\\`\\\$LOCATION' is not valid."`" + MESSAGE="`eval_gettext "The architecture \\\"\\\$LOCATION\\\" is not valid."`" fi ;; '--theme' ) if [[ $LOCATION =~ ${PATTERN[2]} ]];then - MESSAGE="`eval_gettext "The theme \\\`\\\$LOCATION' is not valid."`" + MESSAGE="`eval_gettext "The theme \\\"\\\$LOCATION\\\" is not valid."`" fi ;; @@ -77,7 +77,7 @@ function cli_checkPathComponent { if [[ $LOCATION == '' ]] \ || [[ $LOCATION =~ '(\.\.(/)?)' ]] \ || [[ ! $LOCATION =~ '^[A-Za-z0-9\.:/_-]+$' ]]; then - MESSAGE="`eval_gettext "The value \\\`\\\$LOCATION' is not valid."`" + MESSAGE="`eval_gettext "The value \\\"\\\$LOCATION\\\" is not valid."`" fi ;; esac