diff --git a/Scripts/Bash/Functions/cli_checkFiles.sh b/Scripts/Bash/Functions/cli_checkFiles.sh index fae4e55..8d29832 100644 --- a/Scripts/Bash/Functions/cli_checkFiles.sh +++ b/Scripts/Bash/Functions/cli_checkFiles.sh @@ -108,7 +108,7 @@ function cli_checkFiles { isInWorkingCopy ) # To exist, file should be inside the working copy. - if [[ $FILE =~ "^/home/centos/artwork/.+$" ]];then + if [[ ! $FILE =~ "^/home/centos/artwork/.+$" ]];then MESSAGE="`eval_gettext "The path \\\"\\\$FILE\\\" doesn't exist inside the working copy."`" fi ;;