From 7142321a30d68d3f790bd2159ef558f3c0329ae0 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Sep 11 2012 18:56:17 +0000 Subject: Update `trunk/Scripts/Bash/Function/Help' functionality to update documentation file paths. --- diff --git a/Scripts/Bash/Functions/Help/help.sh b/Scripts/Bash/Functions/Help/help.sh index 94d179e..807b586 100755 --- a/Scripts/Bash/Functions/Help/help.sh +++ b/Scripts/Bash/Functions/Help/help.sh @@ -41,18 +41,18 @@ function help { # current directory where the `centos-art.sh' script was called # from is used as manual's top-level directory. Notice that this # relaxation is required because we need to create/maintain - # manuals both under `trunk/Manuals/' and `branches/Manuals/' - # directories. + # manuals both under `trunk/Documentation/Manuals/' and + # `branches/Documentation/Manuals/' directories. local MANUAL_TLDIR=${PWD} # Verify manual's top-level directory. To prevent messing the # things up, we need to restrict the possible locations # where documentation manuals can be created in the working copy. # When manual's top-level location is other but the ones - # permitted, use `trunk/Manuals' directory structure as default - # location to store documentation manuals. - if [[ ! $MANUAL_TLDIR =~ "^${TCAR_WORKDIR}/(trunk/Manuals|branches/Manuals/[[:alnum:]-]+)$" ]];then - MANUAL_TLDIR="${TCAR_WORKDIR}/trunk/Manuals" + # permitted, use `trunk/Documentation/Manuals' directory structure + # as default location to store documentation manuals. + if [[ ! $MANUAL_TLDIR =~ "^${TCAR_WORKDIR}/(trunk/Documentation/Manuals|branches/Documentation/Manuals/[[:alnum:]-]+)$" ]];then + MANUAL_TLDIR="${TCAR_WORKDIR}/trunk/Documentation/Manuals" fi # Initialize documentation entries arrays. Arrays defined here