From 0900a19393eeb03c39b49e414a8c05f0a6a1a0b4 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Oct 24 2013 06:23:42 +0000 Subject: Update tcar_printHelp to retrieve documentation from Manuals/Final. - Previously, centos-art.sh script retrieved documentation from a directory named Manuals. Because the render module was updated to produce final content inside the Final directory the centos-art.sh script looks for Manuals instead of Manuals/Final, it no longer shows documentation when requested in the command-line. This update changes the tcar_printHelp function and the centos-art.conf.sh file to retrieve documentation from Manuals/Final directory. --- diff --git a/Automation/Scripts/tcar_printHelp.sh b/Automation/Scripts/tcar_printHelp.sh index d4020ea..f585eb7 100755 --- a/Automation/Scripts/tcar_printHelp.sh +++ b/Automation/Scripts/tcar_printHelp.sh @@ -47,7 +47,7 @@ function tcar_printHelp { fi # Print requested documentation. - /usr/bin/man -M ${TCAR_SCRIPT_DIR_MANUALS}:${TCAR_MODULE_DIR_MANUALS} "${TCAR_MANPAGE_NAME}" + /usr/bin/man -M ${TCAR_SCRIPT_DIR_MANUALS}:${TCAR_MODULE_DIR_MANUALS}/Final "${TCAR_MANPAGE_NAME}" # Finish script execution successfully. exit 0 diff --git a/Automation/centos-art.conf.sh b/Automation/centos-art.conf.sh index fab6cf2..4766add 100755 --- a/Automation/centos-art.conf.sh +++ b/Automation/centos-art.conf.sh @@ -90,7 +90,7 @@ declare -x TEXTDOMAINDIR=${TCAR_SCRIPT_BASEDIR}/Locales # Set absolute path to documentation search path. This is the location # where final documentation formats (e.g., man pages) will be saved # in. -declare -x TCAR_SCRIPT_DIR_MANUALS=${TCAR_SCRIPT_BASEDIR}/Manuals +declare -x TCAR_SCRIPT_DIR_MANUALS=${TCAR_SCRIPT_BASEDIR}/Manuals/Final ###################################################################### # User-related configuration variables.