From 608fb47895b4438846030c99eeb5ab15c6199ead Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: May 01 2011 17:59:18 +0000 Subject: Update help_copyEntry.sh. --- diff --git a/Scripts/Functions/Help/help_copyEntry.sh b/Scripts/Functions/Help/help_copyEntry.sh index a527934..7f7b70b 100755 --- a/Scripts/Functions/Help/help_copyEntry.sh +++ b/Scripts/Functions/Help/help_copyEntry.sh @@ -32,6 +32,13 @@ function help_copyEntry { local ENTRIES='' local ENTRY='' + # Verify parent directory of entry destination. If its parent + # directory doesn't exist, create it and add it to the repository. + if [[ ! -d $(dirname ${ENTRY_DST}) ]];then + mkdir -p $(dirname ${ENTRY_DST}) + svn add $(dirname ${ENTRY_DST}) --quiet + fi + # Copy main documentation entry. if [[ -a ${ENTRY_SRC} ]] && [[ ! -a ${ENTRY_DST} ]];then cli_printMessage "${ENTRY_DST}" 'AsCreatingLine'