42939a Move help_getEntry to Backends/Texinfo/texinfo_getEntry.sh.

Authored and Committed by areguera 13 years ago
    Move help_getEntry to Backends/Texinfo/texinfo_getEntry.sh.
    
    
        
Scripts/Functions/Help/Backends/Texinfo/texinfo_getEntry.sh Scripts/Functions/Help/help_getEntry.sh
file renamed
+6 -6
Scripts/Functions/Help/{help_getEntry.sh → Backends/Texinfo/texinfo_getEntry.sh} RENAMED
@@ -1,9 +1,9 @@
1
1
#!/bin/bash
2
2
#
3
- # help_getEntry.sh -- This function builds a documentation entry based
4
- # on a location specified. Location specification can be both action
5
- # value (ACTIONVAL) variable or a value passed as first positional
6
- # parameter.
3
+ # texinfo_getEntry.sh -- This function builds a documentation entry
4
+ # based on a location specified. Location specification can be both
5
+ # action value (ACTIONVAL) variable or a value passed as first
6
+ # positional parameter.
7
7
#
8
8
# Copyright (C) 2009, 2010, 2011 The CentOS Project
9
9
#
@@ -25,7 +25,7 @@
25
25
# $Id$
26
26
# ----------------------------------------------------------------------
27
27
28
- function help_getEntry {
28
+ function texinfo_getEntry {
29
29
30
30
# Define variables as local to avoid conflicts outside.
31
31
local ENTRY=''
@@ -54,7 +54,7 @@ function help_getEntry {
54
54
# `--read' cannot be applied to paths provided inside
55
55
# trunk/Manuals/ such actions need to be performed manually.
56
56
if [[ ${ENTRY} =~ "\.${FLAG_BACKEND}$" ]];then
57
- ENTRY=$(echo ${ENTRY} | sed 's!trunk/Manuals/!!')
57
+ ENTRY=$(echo ${ENTRY} | sed 's!trunk/Manuals/Texinfo/!!')
58
58
else
59
59
ENTRY=$(dirname Directories/${ENTRY})/$(basename $LOCATION).${FLAG_BACKEND}
60
60
fi