From fa17edda3e3b1b3e46b544a1003c509db47134ec Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Mar 01 2011 22:57:13 +0000 Subject: Update manual_updateNodes.sh. --- diff --git a/Scripts/Bash/Cli/Functions/Manual/manual_updateNodes.sh b/Scripts/Bash/Cli/Functions/Manual/manual_updateNodes.sh index ddbf14e..60ccfb4 100755 --- a/Scripts/Bash/Cli/Functions/Manual/manual_updateNodes.sh +++ b/Scripts/Bash/Cli/Functions/Manual/manual_updateNodes.sh @@ -34,8 +34,8 @@ function manual_updateNodes { # Re-build node structure based on menu information. for NODE in $NODES;do - NODE=$(echo "$NODE" | sed -r 's!:! !g') - SECT=$(echo "$NODE" | sed -r 's! !/!g') + NODE=$(echo "${NODE}" | sed -r 's!:! !g') + SECT=$(echo "$NODE" | sed -r 's! !/!g' | sed "s!${MANUAL_CHAPTER_NAME}/!!") INCL=$(echo "$NODE" | sed -r 's! !/!g').texi CIND=$(echo "$NODE") @@ -51,7 +51,7 @@ function manual_updateNodes { # Output node information based on texinfo menu. echo "@node $NODE" - echo "@section $SECT" + echo "@section `eval_gettext "The @file{\\\$SECT} Directory"`" echo "@cindex $CIND" echo "@include $INCL" echo ""