diff --git a/Scripts/Functions/cli_checkFiles.sh b/Scripts/Functions/cli_checkFiles.sh index 73415bb..4f12c91 100755 --- a/Scripts/Functions/cli_checkFiles.sh +++ b/Scripts/Functions/cli_checkFiles.sh @@ -116,8 +116,7 @@ function cli_checkFiles { -n|--versioned ) for FILE in $(echo $FILES);do - svn ls $FILE &> /dev/null - if [[ $? -ne 0 ]];then + if [[ $(cli_isVersioned $FILE) == 'false' ]];then cli_printMessage "`eval_gettext "The path \\\"\\\$FILE\\\" is not versioned."`" --as-error-line fi done