| #!/bin/bash |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| function cli_getRepoParallelDirs { |
| |
| local BOND='' |
| local TDIR='' |
| local -a PDIRS |
| |
| |
| |
| if [[ "$1" != '' ]];then |
| BOND="$1" |
| elif [[ "$ACTIONVAL" != '' ]];then |
| BOND="$ACTIONVAL" |
| else |
| cli_printMessage "${FUNCNAME}: `gettext "The bond string is required."`" 'AsErrorLine' |
| cli_printMessage "$(caller)" 'AsToKnowMoreLine' |
| fi |
| |
| |
| TDIR=$(cli_getRepoTLDir ${BOND}) |
| |
| |
| PDIRS[0]=Manuals/$(cli_getCurrentLocale)/Texinfo/Repository/$(cli_getRepoTLDir "${BOND}" '--relative') |
| PDIRS[1]=Scripts/Bash/Functions/Render/Config |
| PDIRS[2]=Locales |
| |
| |
| BOND=$(echo $BOND | sed -r "s,^${TDIR}/(.+)$,\1,") |
| |
| |
| |
| |
| for PDIR in "${PDIRS[@]}";do |
| echo ${TDIR}/${PDIR}/${BOND} |
| done |
| |
| } |