From 385e60a117d042992c4fe5a0fded983f6b3913c1 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Jul 23 2011 03:27:08 +0000 Subject: Update `texinfo_makeSeeAlso.sh': - Verify section entry. When section entries have been deleted, there is no menu definition to set. --- diff --git a/Scripts/Functions/Help/Texinfo/texinfo_makeSeeAlso.sh b/Scripts/Functions/Help/Texinfo/texinfo_makeSeeAlso.sh index 94eedd6..87735d1 100755 --- a/Scripts/Functions/Help/Texinfo/texinfo_makeSeeAlso.sh +++ b/Scripts/Functions/Help/Texinfo/texinfo_makeSeeAlso.sh @@ -36,6 +36,12 @@ function texinfo_makeSeeAlso { # Initialize section definition absolute path. local MANUAL_ENTRY="$1" + # Verify section entry. When section entries are deleted, there is + # no menu definition to set. + if [[ ! -f $MANUAL_ENTRY ]];then + return + fi + # Define pattern used to build list of child sections. A child # section shares the same path information of its parent with out # file extension. For example, if you have the `identity',