From dfba1dc670119e2febca504c512905d9bdb59074 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: May 30 2011 03:42:31 +0000 Subject: Update Backends/Texinfo/texinfo_renameCrossReferences.sh. Start using texinfo_getNode@3017. --- diff --git a/Scripts/Functions/Help/Backends/Texinfo/texinfo_renameCrossReferences.sh b/Scripts/Functions/Help/Backends/Texinfo/texinfo_renameCrossReferences.sh index ef910c1..846d75e 100755 --- a/Scripts/Functions/Help/Backends/Texinfo/texinfo_renameCrossReferences.sh +++ b/Scripts/Functions/Help/Backends/Texinfo/texinfo_renameCrossReferences.sh @@ -30,18 +30,10 @@ function texinfo_renameCrossReferences { local MANUAL_ENTRY_DST=$(${FLAG_BACKEND}_getEntry "$2") # Define node pattern for source documenation entry. - local NODE_SRC=$(echo "$MANUAL_ENTRY_SRC" \ - | cut -d / -f8- \ - | tr '/' ' ' \ - | sed -r \ - -e "s/(chapter-intro\.${FLAG_BACKEND}|\.${FLAG_BACKEND})$//") + local NODE_SRC=$(${FLAG_BACKEND}_getNode "$MANUAL_ENTRY_SRC") # Define node replacement for target documentation entry. - local NODE_DST=$(echo "$MANUAL_ENTRY_DST" \ - | cut -d / -f8- \ - | tr '/' ' ' \ - | sed -r \ - -e "s/(chapter-intro\.${FLAG_BACKEND}|\.${FLAG_BACKEND})$//") + local NODE_DST=$(${FLAG_BACKEND}_getNode "$MANUAL_ENTRY_DST") # Define list of entries to process. local ENTRIES=$(cli_getFilesList ${MANUAL_BASEDIR} --pattern=".*\.${FLAG_BACKEND}")