From bd2b759347cd66ce6154fea94ca1858caf48f61b Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Jan 10 2014 17:43:18 +0000 Subject: Fix variable name at tcar_printHelp function. - Previously, tcar_printHelp function was using the TCAR_SCRIPT_DIR_MANUALS variable to read the location of man pages. This variable is no longer use which prevent tcar_printHelp from knowing where to retrieve man pages from. This update corrects this issue by renaming the variable name from TCAR_SCRIPT_DIR_MANUALS to TCAR_SCRIPT_MANUAL, the name set in the tcar.sh file. --- diff --git a/Scripts/tcar_printHelp.sh b/Scripts/tcar_printHelp.sh index baa5c46..5075075 100755 --- a/Scripts/tcar_printHelp.sh +++ b/Scripts/tcar_printHelp.sh @@ -33,7 +33,7 @@ function tcar_printHelp { fi # Print requested documentation. - /usr/bin/man -M ${TCAR_SCRIPT_DIR_MANUALS} "${TCAR_MANPAGE_NAME}" + /usr/bin/man -M ${TCAR_SCRIPT_MANUALS} "${TCAR_MANPAGE_NAME}" # Finish script execution successfully. exit 0