From 1d4867f33efdef9d9a42c90492994b235a60d1a4 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Sep 21 2012 02:30:47 +0000 Subject: Update `Functions/Help/Texinfo/texinfo_createStructureChapters.sh' file. --- diff --git a/Scripts/Bash/Functions/Help/Texinfo/texinfo_createStructureChapters.sh b/Scripts/Bash/Functions/Help/Texinfo/texinfo_createStructureChapters.sh index b7ee3b7..44928f7 100755 --- a/Scripts/Bash/Functions/Help/Texinfo/texinfo_createStructureChapters.sh +++ b/Scripts/Bash/Functions/Help/Texinfo/texinfo_createStructureChapters.sh @@ -47,7 +47,10 @@ function texinfo_createStructureChapters { # Verify texinfo templates used as based to build the chapter. # Be sure they are inside the working copy of CentOS Artwork # Repository and under version control, too. - cli_checkFiles --versioned ${FILE} + ${CLI_NAME} svn --is-versioned ${FILE} + if [[ $? -ne 0 ]];then + cli_printMessage "${FILE} `gettext "isn't under version control."`" --as-error-line + fi # Verify chapter's directory. If it doesn't exist, create it. if [[ ! -d ${MANUAL_CHAPTER_DIR} ]];then