diff --git a/Scripts/Functions/cli_checkFiles.sh b/Scripts/Functions/cli_checkFiles.sh index 4f12c91..7ab9567 100755 --- a/Scripts/Functions/cli_checkFiles.sh +++ b/Scripts/Functions/cli_checkFiles.sh @@ -134,7 +134,7 @@ function cli_checkFiles { -w|--working-copy ) for FILE in $(echo $FILES);do - if [[ ! $FILE =~ "^${HOME}/artwork/.+$" ]];then + if [[ ! $FILE =~ "^${CLI_WRKCOPY}/.+$" ]];then cli_printMessage "`eval_gettext "The path \\\"\\\$FILE\\\" does not exist inside the working copy."`" --as-error-line fi done