From 5e176839feb4419229445251040b87a764ea94e7 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Oct 10 2012 14:20:27 +0000 Subject: Update `Functions/Help/Texinfo/texinfo_checkEntrySrcDst.sh' file. --- diff --git a/Scripts/Bash/Functions/Help/Texinfo/texinfo_checkEntrySrcDst.sh b/Scripts/Bash/Functions/Help/Texinfo/texinfo_checkEntrySrcDst.sh index 0e321c3..4b9af63 100755 --- a/Scripts/Bash/Functions/Help/Texinfo/texinfo_checkEntrySrcDst.sh +++ b/Scripts/Bash/Functions/Help/Texinfo/texinfo_checkEntrySrcDst.sh @@ -45,12 +45,9 @@ function texinfo_checkEntrySrcDst { # Verify source location to be sure it is under version control # and there isn't pending change to be committed first. - if [[ $(${CLI_NAME} svn --is-versioned ${MANUAL_ENTRY_SRC}) -eq 0 ]];then - if [[ $(${CLI_NAME} svn --get-status ${MANUAL_ENTRY_SRC}) != '' ]];then - cli_printMessage "`gettext "The source location has pending changes."`" --as-error-line - fi - else - cli_printMessage "`gettext "The source location isn't under version control."`" --as-error-line + cli_checkFiles ${MANUAL_ENTRY_SRC} --is-versioned + if [[ $(${CLI_NAME} svn --get-status ${MANUAL_ENTRY_SRC}) != '' ]];then + cli_printMessage "`gettext "The source location has pending changes."`" --as-error-line fi # Verify target directory where the source will be duplicated in.