diff --git a/Scripts/Bash/Functions/Locale/locale.sh b/Scripts/Bash/Functions/Locale/locale.sh index a84a2de..eb1a06c 100755 --- a/Scripts/Bash/Functions/Locale/locale.sh +++ b/Scripts/Bash/Functions/Locale/locale.sh @@ -62,10 +62,17 @@ function locale { for ACTIONVAL in "$@";do # Sanitate non-option arguments to be sure they match the - # directory convenctions stablished by centos-art.sh script + # directory conventions established by centos-art.sh script # against source directory locations in the working copy. ACTIONVAL=$(cli_checkRepoDirSource ${ACTIONVAL}) + # Verify non-option arguments passed to centos-art.sh + # command-line. It should point to an existent directory under + # version control inside the working copy. Otherwise, if it + # doesn't point to a directory under version control, finish + # the script execution with an error message. + cli_checkFiles ${ACTIONVAL} -d --is-versioned + # Define localization working directory using directory passed # as non-option argument. The localization working directory # is the place where POT and PO files are stored inside the