From c1289b5d2d60a7b76aad3402d25b09f9ce68128e Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Jul 21 2011 00:31:31 +0000 Subject: Update `cli_checkFiles.sh': - Start using `cli_isVersioned' functionality. --- 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