From 7ba60dd9a3ecd8fd4fe4a68ef31be01a2d9abd27 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Jan 03 2011 20:49:38 +0000 Subject: Update cli_checkFiles.sh: - Fix isInWorkingCopy option. --- 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 ;;